Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 169 kB / 24.28 MB, free: 284 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.035/1.035, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.858/1.858, allocations: 377.8 MB / 0.6239 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.337e-06/3.337e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.448e-05, allocations: 4.984 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001547/0.001581, allocations: 0.718 MB / 0.8122 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.002914, allocations: 1.304 MB / 0.8135 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.00298, allocations: 5.594 kB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.003086, allocations: 11.86 kB / 0.8135 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.003127, allocations: 11.88 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.003713, allocations: 241.1 kB / 0.8138 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.003971, allocations: 247.6 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004088, allocations: 25.67 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.004239, allocations: 139.8 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.004358, allocations: 71.81 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.004388, allocations: 16 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.004478, allocations: 39.92 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.004536, allocations: 37.44 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.004614, allocations: 71.81 kB / 0.8144 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.004837, allocations: 195.4 kB / 0.8146 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00484, allocations: 1.375 kB / 0.8146 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004841, allocations: 0 / 0.8146 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.004845, allocations: 0 / 0.8146 GB, free: 14.97 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004895/0.005335, allocations: 0.5228 MB / 0.8151 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.005369, allocations: 13.78 kB / 0.8151 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.005639, allocations: 68.8 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.005966, allocations: 191 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.005982, allocations: 13 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.006005, allocations: 16.38 kB / 0.8154 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.006155, allocations: 120.2 kB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.006163, allocations: 192 / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.006176, allocations: 12.81 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.006186, allocations: 8.125 kB / 0.8155 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.38e-05/0.00623, allocations: 29.34 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.006755, allocations: 0.7658 MB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.006814, allocations: 56.78 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.006838, allocations: 23.3 kB / 0.8164 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.006844, allocations: 4.062 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.006961, allocations: 100.4 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006962, allocations: 0 / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002022/0.007164, allocations: 98.03 kB / 0.8166 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.007208, allocations: 85.09 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.007349, allocations: 222.5 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.007372, allocations: 37.69 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.007473, allocations: 167.2 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.007484, allocations: 21.48 kB / 0.8171 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.007555, allocations: 63.34 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.007691, allocations: 0.4923 MB / 0.8176 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.007831, allocations: 111.4 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.007975, allocations: 252.1 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.008128, allocations: 191.7 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.008131, allocations: 0 / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004061/0.008537, allocations: 341.8 kB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.008579, allocations: 67.39 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.008584, allocations: 0.9688 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.0086, allocations: 7.938 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.629e-05/0.008616, allocations: 4.844 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.008622, allocations: 0 / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.008791, allocations: 54.06 kB / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.008812, allocations: 11.98 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.514e-05/0.008897, allocations: 168.6 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.008912, allocations: 14.69 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.00894, allocations: 12.34 kB / 0.8188 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.008944, allocations: 7.922 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.008947, allocations: 4 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.00895, allocations: 0 / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.532e-05/0.009046, allocations: 152.5 kB / 0.8189 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009047, allocations: 3.938 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.009053, allocations: 9.453 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009055, allocations: 0 / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.009061, allocations: 0 / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.009063, allocations: 4 kB / 0.819 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.009065, allocations: 8.375 kB / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.009178, allocations: 124.1 kB / 0.8191 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.009188, allocations: 9.828 kB / 0.8191 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.009199, allocations: 0 / 0.8191 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.009214, allocations: 4 kB / 0.8191 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.009241, allocations: 11.92 kB / 0.8191 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.009246, allocations: 4 kB / 0.8191 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.009305, allocations: 154.9 kB / 0.8193 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009305, allocations: 0 / 0.8193 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001775/0.009483, allocations: 35.95 kB / 0.8193 GB, free: 9.645 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001211/0.009604, allocations: 116.2 kB / 0.8194 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.009853, allocations: 275 kB / 0.8197 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.009856, allocations: 7.688 kB / 0.8197 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.009888, allocations: 23.61 kB / 0.8197 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.01006, allocations: 28.03 kB / 0.8197 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.01052, allocations: 238.6 kB / 0.82 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.01056, allocations: 71.2 kB / 0.82 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.01059, allocations: 10.5 kB / 0.82 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.01061, allocations: 20.5 kB / 0.8201 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of SimCode: time 1.021e-06/0.01061, allocations: 0 / 0.8201 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of Templates: time 0.003799/0.01441, allocations: 2.099 MB / 0.8221 GB, free: 6.742 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.329932644031942]