Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001373, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.085/3.085, allocations: 489.3 MB / 0.7687 GB, free: 3.84 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9384/0.9404, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001756/0.9422, allocations: 0.7202 MB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.9436, allocations: 1.246 MB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.9437, allocations: 1.688 kB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.989e-05/0.9438, allocations: 15.16 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.9439, allocations: 16 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.9446, allocations: 239 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.9449, allocations: 254 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.945, allocations: 39.94 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.9452, allocations: 102.3 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.9453, allocations: 87.75 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.9454, allocations: 19.72 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.9455, allocations: 38.36 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.9456, allocations: 43.59 kB / 1.265 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.9457, allocations: 90.56 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.946, allocations: 230.5 kB / 1.266 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.946, allocations: 0.8438 kB / 1.266 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.946, allocations: 0 / 1.266 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.946, allocations: 0 / 1.266 GB, free: 6.172 MB / 0.9981 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.0005224/0.9466, allocations: 0.5085 MB / 1.266 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.9466, allocations: 9.812 kB / 1.266 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.9467, allocations: 21.03 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.9472, allocations: 261.9 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.9473, allocations: 8.984 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.9473, allocations: 17.77 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.9475, allocations: 133.1 kB / 1.267 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9475, allocations: 4.719 kB / 1.267 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.9476, allocations: 1.594 kB / 1.267 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.9476, allocations: 2.625 kB / 1.267 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.9477, allocations: 53.92 kB / 1.267 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.9483, allocations: 0.6693 MB / 1.267 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.9484, allocations: 40.47 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.9484, allocations: 18.89 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.9484, allocations: 4.625 kB / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.9486, allocations: 97.91 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.9486, allocations: 0 / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002524/0.9489, allocations: 99.75 kB / 1.268 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.9489, allocations: 79.59 kB / 1.268 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.949, allocations: 169.4 kB / 1.268 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.9491, allocations: 39.14 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.9492, allocations: 127.9 kB / 1.268 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.9492, allocations: 15.45 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.9493, allocations: 61.88 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.9493, allocations: 320.8 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.9495, allocations: 53.17 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.9496, allocations: 126.7 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.9498, allocations: 177.6 kB / 1.269 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.9498, allocations: 0.875 kB / 1.269 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004138/0.9502, allocations: 265.5 kB / 1.269 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.9503, allocations: 64.22 kB / 1.269 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9503, allocations: 5.719 kB / 1.269 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.9503, allocations: 3.312 kB / 1.269 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.251e-05/0.9503, allocations: 11.73 kB / 1.269 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9504, allocations: 7.594 kB / 1.269 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.9508, allocations: 63.11 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.9508, allocations: 17.52 kB / 1.269 GB, free: 3.273 MB / 0.9981 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 9.44e-05/0.9509, allocations: 143.6 kB / 1.269 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.9509, allocations: 17.19 kB / 1.269 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.951, allocations: 13.08 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.951, allocations: 1.469 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.951, allocations: 1.516 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.951, allocations: 0.5625 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.9511, allocations: 203.1 kB / 1.269 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9512, allocations: 4.719 kB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.9512, allocations: 2.297 kB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9512, allocations: 0.9062 kB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.9512, allocations: 2.469 kB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.9512, allocations: 5.641 kB / 1.269 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9512, allocations: 0 / 1.269 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.9513, allocations: 119 kB / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.9514, allocations: 88.88 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.9514, allocations: 1.812 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.9514, allocations: 2.172 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.9514, allocations: 13.03 kB / 1.27 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.9515, allocations: 7.875 kB / 1.27 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.505e-05/0.9515, allocations: 119 kB / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9515, allocations: 0 / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002803/0.9518, allocations: 40.56 kB / 1.27 GB, free: 2.602 MB / 0.9981 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.0001321/0.952, allocations: 106.2 kB / 1.27 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.9523, allocations: 242.1 kB / 1.27 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9523, allocations: 4.062 kB / 1.27 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.9524, allocations: 25.89 kB / 1.27 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.9526, allocations: 21.55 kB / 1.27 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.953, allocations: 271.1 kB / 1.27 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.9531, allocations: 0.7155 MB / 1.271 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.9531, allocations: 18.64 kB / 1.271 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.9532, allocations: 0 / 1.271 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of Templates: time 0.004157/0.9573, allocations: 1.966 MB / 1.273 GB, free: 1.207 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.916190379997715]