Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.000999/0.000999, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001578/0.001578, allocations: 161 kB / 24.17 MB, free: 328 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.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.002/2.002, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.65e-05, allocations: 2.812 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001649/0.001675, allocations: 0.6775 MB / 0.7759 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003144, allocations: 1.166 MB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.003208, allocations: 1.219 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.003333, allocations: 4.766 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.003366, allocations: 13.66 kB / 0.777 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.00378, allocations: 122.1 kB / 0.7771 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.00393, allocations: 87.2 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.004007, allocations: 3.938 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.233e-05/0.004079, allocations: 53.98 kB / 0.7773 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.004183, allocations: 25.05 kB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.004205, allocations: 8.625 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.004285, allocations: 29.09 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.004338, allocations: 5.969 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.004385, allocations: 25.19 kB / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.004545, allocations: 81.55 kB / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004549, allocations: 0 / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.041e-06/0.00455, allocations: 0 / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.004555, allocations: 3.938 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003365/0.004891, allocations: 282.5 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.004927, allocations: 10.09 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.004959, allocations: 4.938 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.005094, allocations: 118.6 kB / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.005105, allocations: 4.375 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.005118, allocations: 7.594 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.15e-05/0.00519, allocations: 42.25 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005197, allocations: 192 / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.005204, allocations: 384 / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.005209, allocations: 384 / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.391e-05/0.005223, allocations: 15.86 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.00549, allocations: 172.2 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.295e-05/0.005523, allocations: 18.52 kB / 0.7781 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-06/0.005532, allocations: 12.45 kB / 0.7781 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.005539, allocations: 0 / 0.7781 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.179e-05/0.005621, allocations: 55.33 kB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.005622, allocations: 0 / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001023/0.005724, allocations: 53.69 kB / 0.7782 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.005753, allocations: 51.41 kB / 0.7783 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.005812, allocations: 114.7 kB / 0.7784 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.005827, allocations: 29.7 kB / 0.7784 GB, free: 2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.005863, allocations: 96.06 kB / 0.7785 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.005872, allocations: 8.891 kB / 0.7785 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.005913, allocations: 33.62 kB / 0.7785 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.00598, allocations: 314.8 kB / 0.7788 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.006026, allocations: 50.19 kB / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.006069, allocations: 69.12 kB / 0.7789 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.006123, allocations: 77.47 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006125, allocations: 0 / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001058/0.006231, allocations: 150.4 kB / 0.7792 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.006261, allocations: 33.64 kB / 0.7792 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.006268, allocations: 4 kB / 0.7792 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.006277, allocations: 1.125 kB / 0.7792 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-05/0.006292, allocations: 0 / 0.7792 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.006296, allocations: 4 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.006404, allocations: 24.97 kB / 0.7792 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.006419, allocations: 8 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.298e-05/0.006482, allocations: 113.2 kB / 0.7793 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.006487, allocations: 0.625 kB / 0.7793 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.006512, allocations: 17.02 kB / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.006514, allocations: 0 / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006515, allocations: 0 / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006518, allocations: 0.6875 kB / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.621e-05/0.006574, allocations: 69.89 kB / 0.7794 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006575, allocations: 5.531 kB / 0.7794 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-06/0.00658, allocations: 3.984 kB / 0.7794 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006582, allocations: 0 / 0.7794 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-06/0.006586, allocations: 0 / 0.7794 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.006587, allocations: 9.469 kB / 0.7794 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.006589, allocations: 3.938 kB / 0.7794 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.525e-05/0.006644, allocations: 61.12 kB / 0.7795 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.00665, allocations: 4 kB / 0.7795 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.006658, allocations: 3.984 kB / 0.7795 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-06/0.006665, allocations: 0.8125 kB / 0.7795 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.006686, allocations: 8.25 kB / 0.7795 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006688, allocations: 0.625 kB / 0.7795 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.283e-05/0.006701, allocations: 17.39 kB / 0.7795 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.006701, allocations: 0 / 0.7795 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001146/0.006816, allocations: 24.66 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001121/0.006928, allocations: 77.48 kB / 0.7796 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.007062, allocations: 134.8 kB / 0.7798 GB, free: 472 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.007064, allocations: 4 kB / 0.7798 GB, free: 468 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.491e-05/0.007079, allocations: 12.84 kB / 0.7798 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.007189, allocations: 9.312 kB / 0.7798 GB, free: 444 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.007402, allocations: 136.9 kB / 0.7799 GB, free: 280 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.007433, allocations: 60.47 kB / 0.78 GB, free: 200 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.756e-05/0.00745, allocations: 0 / 0.78 GB, free: 200 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.007515, allocations: 67.36 kB / 0.78 GB, free: 132 kB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.007515, allocations: 0.9062 kB / 0.78 GB, free: 132 kB / 0.7292 GB Notification: Performance of Templates: time 0.002945/0.01046, allocations: 1.277 MB / 0.7813 GB, free: 14.93 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.118826884776354]