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.001664/0.001664, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002019/0.002019, allocations: 216.1 kB / 22.99 MB, free: 4.945 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.239/3.239, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.002051/0.002051, allocations: 71.08 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002036/0.3626, allocations: 0.7105 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3644, allocations: 1.269 MB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.3644, allocations: 0 / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.3645, allocations: 11.88 kB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.3646, allocations: 19.84 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.3653, allocations: 245 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.3656, allocations: 239.6 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3658, allocations: 23.97 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3659, allocations: 107.8 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3661, allocations: 71.77 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.3662, allocations: 19.94 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3663, allocations: 35.98 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.3663, allocations: 39.91 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3665, allocations: 79.69 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.3668, allocations: 235.2 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3668, allocations: 8 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.437e-06/0.3668, allocations: 3.938 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.3668, allocations: 0 / 1.368 GB, free: 10.5 MB / 1.061 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.0006595/0.3675, allocations: 429.1 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3675, allocations: 8.031 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.3679, allocations: 60.73 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.3684, allocations: 190.4 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3684, allocations: 12.38 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.3685, allocations: 20.38 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3687, allocations: 127.2 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3687, allocations: 3.938 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3687, allocations: 4 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3687, allocations: 4 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.3688, allocations: 51.91 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.3695, allocations: 0.5827 MB / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.3695, allocations: 33.16 kB / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.3696, allocations: 17.84 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3696, allocations: 11.94 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.3698, allocations: 92.98 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3698, allocations: 0 / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002471/0.3701, allocations: 101.5 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3701, allocations: 77.11 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3703, allocations: 181.4 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.3703, allocations: 29.7 kB / 1.37 GB, free: 8.277 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3704, allocations: 127.9 kB / 1.37 GB, free: 8.148 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.3705, allocations: 11.91 kB / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3706, allocations: 65.67 kB / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3707, allocations: 322.8 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.3709, allocations: 115.3 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.3712, allocations: 235.3 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.3714, allocations: 178.5 kB / 1.371 GB, free: 7.121 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3714, allocations: 4.031 kB / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004993/0.3719, allocations: 324.2 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.372, allocations: 63.34 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.372, allocations: 4 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.372, allocations: 0 / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.248e-05/0.372, allocations: 11.92 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.372, allocations: 4 kB / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.3723, allocations: 60.14 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3724, allocations: 15.98 kB / 1.371 GB, free: 6.602 MB / 1.061 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.0001381/0.3725, allocations: 141.8 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.3725, allocations: 15.83 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.3726, allocations: 12.34 kB / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3726, allocations: 0 / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3726, allocations: 0 / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3726, allocations: 8 kB / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3727, allocations: 141.3 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3727, allocations: 0 / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-06/0.3727, allocations: 0 / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3727, allocations: 4 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3727, allocations: 11.92 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3727, allocations: 0 / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3727, allocations: 4 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.3729, allocations: 113.8 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.3729, allocations: 11.94 kB / 1.372 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3729, allocations: 11.94 kB / 1.372 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.373, allocations: 4 kB / 1.372 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.373, allocations: 7.984 kB / 1.372 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.373, allocations: 0 / 1.372 GB, free: 6.051 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.972e-05/0.3731, allocations: 120.8 kB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3731, allocations: 0 / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000248/0.3733, allocations: 35.95 kB / 1.372 GB, free: 5.898 MB / 1.061 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.0001489/0.3735, allocations: 107.2 kB / 1.372 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.3739, allocations: 270.5 kB / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3739, allocations: 8 kB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.374, allocations: 23.98 kB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3742, allocations: 15.98 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.3747, allocations: 281.8 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3748, allocations: 93.77 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.3748, allocations: 15.62 kB / 1.372 GB, free: 5 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.3748, allocations: 4 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of Templates: time 0.004028/0.3789, allocations: 1.91 MB / 1.374 GB, free: 3.117 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.533374203369021]