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.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.001326/0.001326, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001456/0.001456, allocations: 219.5 kB / 23.01 MB, free: 4.609 MB / 14.72 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.326/3.326, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 61.47 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3469, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002024/0.3489, allocations: 0.7154 MB / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3508, allocations: 1.284 MB / 1.356 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.3508, allocations: 4 kB / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.351, allocations: 15.86 kB / 1.356 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.351, allocations: 15.86 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.3518, allocations: 243.2 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.3522, allocations: 251.6 kB / 1.357 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3523, allocations: 23.98 kB / 1.357 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.3525, allocations: 107.7 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.3527, allocations: 83.78 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.3527, allocations: 20 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3528, allocations: 47.95 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.3529, allocations: 31.92 kB / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.353, allocations: 91.62 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.3533, allocations: 239.1 kB / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3534, allocations: 0 / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3534, allocations: 0 / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3534, allocations: 0 / 1.357 GB, free: 4.824 MB / 1.045 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.0006954/0.3541, allocations: 441.1 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3541, allocations: 8.031 kB / 1.358 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.3545, allocations: 48.81 kB / 1.358 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.355, allocations: 198.3 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.355, allocations: 16.36 kB / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.3551, allocations: 24.36 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3553, allocations: 123.5 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3553, allocations: 3.938 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3554, allocations: 4 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3554, allocations: 4 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.3555, allocations: 51.91 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.3563, allocations: 0.6368 MB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.756e-05/0.3564, allocations: 37.22 kB / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.3564, allocations: 21.7 kB / 1.359 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3564, allocations: 0 / 1.359 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.3566, allocations: 93.03 kB / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.3566, allocations: 0 / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0002864/0.3569, allocations: 109.4 kB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.357, allocations: 81.11 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3572, allocations: 174.1 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.3572, allocations: 33.7 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3573, allocations: 128.5 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3574, allocations: 15.88 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3575, allocations: 57.69 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3576, allocations: 318.8 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3578, allocations: 59.89 kB / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.358, allocations: 116.6 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.3582, allocations: 178.2 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3582, allocations: 0 / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004768/0.3587, allocations: 269.1 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/0.3588, allocations: 68.97 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3588, allocations: 0 / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3588, allocations: 7.938 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.219e-05/0.3588, allocations: 8.234 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3588, allocations: 4 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.3591, allocations: 51.89 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.3592, allocations: 16 kB / 1.36 GB, free: 1.137 MB / 1.045 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.0001518/0.3593, allocations: 149.6 kB / 1.361 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.3593, allocations: 19.88 kB / 1.361 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.3594, allocations: 12.34 kB / 1.361 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3594, allocations: 4 kB / 1.361 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3594, allocations: 0 / 1.361 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3594, allocations: 0 / 1.361 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3596, allocations: 180.6 kB / 1.361 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3596, allocations: 3.938 kB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-06/0.3596, allocations: 0 / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3596, allocations: 0 / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3596, allocations: 7.984 kB / 1.361 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3596, allocations: 0 / 1.361 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3596, allocations: 4 kB / 1.361 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.3598, allocations: 113.9 kB / 1.361 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.3598, allocations: 15.83 kB / 1.361 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3598, allocations: 4 kB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.3598, allocations: 0 / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.3599, allocations: 11.98 kB / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3599, allocations: 4 kB / 1.361 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001176/0.36, allocations: 120.2 kB / 1.361 GB, free: 432 kB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.36, allocations: 3.938 kB / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.000263/0.3603, allocations: 31.95 kB / 1.361 GB, free: 396 kB / 1.045 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.0001585/0.3604, allocations: 107.2 kB / 1.361 GB, free: 280 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.3608, allocations: 210.6 kB / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3608, allocations: 0.5 kB / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.3608, allocations: 24 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3611, allocations: 19.92 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.3616, allocations: 273.9 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.362, allocations: 0.7119 MB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.362, allocations: 19.44 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/0.362, allocations: 0 / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of Templates: time 0.00428/0.3663, allocations: 1.89 MB / 1.364 GB, free: 13.07 MB / 1.061 GB " [Timeout remaining time 300] 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/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.774618680996355]