Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 68.44 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.00388/0.2593, allocations: 2.129 MB / 0.9524 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.2616, allocations: 1.236 MB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.2618, allocations: 7.938 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.2623, allocations: 159.3 kB / 0.9537 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.2628, allocations: 155.3 kB / 0.9539 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.2634, allocations: 235.3 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.2639, allocations: 351 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.2641, allocations: 92.86 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.2643, allocations: 155.3 kB / 0.9547 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.2646, allocations: 155.4 kB / 0.9548 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.2646, allocations: 20 kB / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.2648, allocations: 59.97 kB / 0.9549 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2649, allocations: 95.61 kB / 0.955 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2651, allocations: 139.1 kB / 0.9551 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.2656, allocations: 402.9 kB / 0.9555 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2656, allocations: 0 / 0.9555 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2656, allocations: 0 / 0.9555 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.2656, allocations: 0 / 0.9555 GB, free: 3.512 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001147/0.2668, allocations: 0.6624 MB / 0.9562 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2668, allocations: 12.03 kB / 0.9562 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.2669, allocations: 36.47 kB / 0.9562 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.2675, allocations: 394.3 kB / 0.9566 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2675, allocations: 8 kB / 0.9566 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.2675, allocations: 15.94 kB / 0.9566 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.2678, allocations: 118.9 kB / 0.9567 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2678, allocations: 0 / 0.9567 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2678, allocations: 0 / 0.9567 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2679, allocations: 7.938 kB / 0.9567 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.268, allocations: 71.95 kB / 0.9568 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/0.269, allocations: 0.5354 MB / 0.9573 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.2694, allocations: 134.5 kB / 0.9574 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2695, allocations: 48.83 kB / 0.9575 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2695, allocations: 0 / 0.9575 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.2697, allocations: 107.5 kB / 0.9576 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.2698, allocations: 0 / 0.9576 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0005055/0.2703, allocations: 217 kB / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2703, allocations: 59.34 kB / 0.9579 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.2709, allocations: 0.5249 MB / 0.9584 GB, free: 400 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.271, allocations: 29.7 kB / 0.9584 GB, free: 364 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2711, allocations: 180.4 kB / 0.9586 GB, free: 180 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.2712, allocations: 39.62 kB / 0.9586 GB, free: 140 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2713, allocations: 65.88 kB / 0.9587 GB, free: 68 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2714, allocations: 354.8 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2716, allocations: 100.5 kB / 0.9591 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.2718, allocations: 131.6 kB / 0.9592 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.2721, allocations: 164 kB / 0.9594 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2722, allocations: 4 kB / 0.9594 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005441/0.2727, allocations: 317.1 kB / 0.9597 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2727, allocations: 13.75 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2728, allocations: 0 / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2728, allocations: 4 kB / 0.9597 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.273, allocations: 47.91 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.273, allocations: 4 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2732, allocations: 23.83 kB / 0.9598 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.2732, allocations: 12.06 kB / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001855/0.2734, allocations: 185.8 kB / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.2735, allocations: 39.55 kB / 0.96 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.2736, allocations: 35.12 kB / 0.96 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2736, allocations: 0 / 0.96 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2736, allocations: 4 kB / 0.96 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2736, allocations: 0 / 0.96 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.2739, allocations: 305.4 kB / 0.9603 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2739, allocations: 4 kB / 0.9603 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.2739, allocations: 15.98 kB / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2739, allocations: 3.938 kB / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.274, allocations: 0 / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.274, allocations: 4 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.274, allocations: 3.938 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.2743, allocations: 188.6 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.2744, allocations: 124.6 kB / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.2745, allocations: 7.938 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.2746, allocations: 19.98 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.2747, allocations: 15.97 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.2747, allocations: 8 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003561/0.2751, allocations: 323.1 kB / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2751, allocations: 0 / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003051/0.2754, allocations: 59.98 kB / 0.9611 GB, free: 13.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001046/0.2764, allocations: 433.9 kB / 0.9615 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.2769, allocations: 191.9 kB / 0.9617 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2769, allocations: 0 / 0.9617 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.277, allocations: 55.91 kB / 0.9617 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.2776, allocations: 97.19 kB / 0.9618 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/0.2786, allocations: 0.6077 MB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2789, allocations: 0.7948 MB / 0.9632 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.979e-05/0.279, allocations: 35.44 kB / 0.9632 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.2791, allocations: 0 / 0.9632 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of Templates: time 0.008077/0.2871, allocations: 4.6 MB / 0.9677 GB, free: 6.785 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches