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.001852/0.001852, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.001887/0.001887, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 3.127/3.127, allocations: 377.9 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",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.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.363e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001988/0.002021, allocations: 0.7197 MB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.004004, allocations: 1.272 MB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.004061, allocations: 5.531 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.004187, allocations: 7.922 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.004245, allocations: 19.86 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.005017, allocations: 241.1 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.005388, allocations: 247.5 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.005518, allocations: 25.61 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.005742, allocations: 139.8 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.005907, allocations: 67.89 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.058e-05/0.005967, allocations: 20 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.006082, allocations: 39.91 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.006156, allocations: 33.45 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.006275, allocations: 67.88 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.006673, allocations: 263.2 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.006678, allocations: 9.688 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.61e-07/0.006679, allocations: 0 / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006684, allocations: 0 / 0.8139 GB, free: 14.95 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.000871/0.007555, allocations: 0.5225 MB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.007594, allocations: 12.03 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000364/0.007958, allocations: 73.39 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.008501, allocations: 189.4 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.008527, allocations: 12.94 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.008562, allocations: 12.38 kB / 0.8147 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.008789, allocations: 134.2 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.008799, allocations: 192 / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.008814, allocations: 4.375 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.008823, allocations: 8.125 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.008897, allocations: 30.52 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.009753, allocations: 0.7776 MB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.009852, allocations: 54.06 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.009888, allocations: 27.48 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.0099, allocations: 4 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.01009, allocations: 113.5 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.01009, allocations: 0 / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0003112/0.0104, allocations: 106 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.01047, allocations: 82.77 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.01071, allocations: 248.2 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.01075, allocations: 33.7 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.01089, allocations: 170.7 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.01091, allocations: 19.88 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.01104, allocations: 71.84 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002863/0.01132, allocations: 0.5007 MB / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.01152, allocations: 127.4 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.01183, allocations: 280.4 kB / 0.8174 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.0121, allocations: 199.3 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.0121, allocations: 4 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006003/0.01271, allocations: 361.9 kB / 0.8179 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.01278, allocations: 67.39 kB / 0.818 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01278, allocations: 1 kB / 0.818 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.01281, allocations: 7.938 kB / 0.818 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/0.01283, allocations: 8.781 kB / 0.818 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01284, allocations: 0 / 0.818 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.01313, allocations: 54.06 kB / 0.8181 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.01316, allocations: 8 kB / 0.8181 GB, free: 10.25 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 0.0001619/0.01332, allocations: 177.8 kB / 0.8182 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.01335, allocations: 18.73 kB / 0.8182 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.01339, allocations: 8.344 kB / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01339, allocations: 7.875 kB / 0.8183 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.0134, allocations: 4 kB / 0.8183 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.01341, allocations: 3.984 kB / 0.8183 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.0136, allocations: 168.6 kB / 0.8184 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.0136, allocations: 0 / 0.8184 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.01361, allocations: 1.5 kB / 0.8184 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01361, allocations: 4.375 kB / 0.8184 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01362, allocations: 3.984 kB / 0.8184 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01362, allocations: 0 / 0.8184 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.01363, allocations: 4.438 kB / 0.8184 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.01382, allocations: 136 kB / 0.8186 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.01384, allocations: 8.453 kB / 0.8186 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.01386, allocations: 9.281 kB / 0.8186 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.01388, allocations: 0 / 0.8186 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.01392, allocations: 11.92 kB / 0.8186 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01392, allocations: 3.938 kB / 0.8186 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000139/0.01406, allocations: 164.2 kB / 0.8188 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01406, allocations: 0 / 0.8188 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002542/0.01432, allocations: 39.89 kB / 0.8188 GB, free: 9.434 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.0001895/0.0145, allocations: 104.5 kB / 0.8189 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.01499, allocations: 329.5 kB / 0.8192 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01499, allocations: 4 kB / 0.8192 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/0.01505, allocations: 27.61 kB / 0.8192 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01529, allocations: 23.98 kB / 0.8193 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.01579, allocations: 254.4 kB / 0.8195 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.0159, allocations: 95.28 kB / 0.8196 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.719e-05/0.01595, allocations: 14 kB / 0.8196 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.01598, allocations: 13.62 kB / 0.8196 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.01598, allocations: 3.938 kB / 0.8196 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.006376/0.02235, allocations: 2.094 MB / 0.8217 GB, free: 6.457 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.345033796038479]