Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001771, allocations: 102.2 kB / 16.27 MB, free: 6 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.002172/0.002172, allocations: 191 kB / 17.2 MB, free: 5.609 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.246/2.246, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 66.61 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2443, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003443/0.2478, allocations: 1.989 MB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.2498, allocations: 1.197 MB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.25, allocations: 3.938 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.2505, allocations: 163.5 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.2509, allocations: 159.3 kB / 0.9537 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.2514, allocations: 219.2 kB / 0.9539 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.2518, allocations: 311.2 kB / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.252, allocations: 56.27 kB / 0.9543 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.2522, allocations: 139.5 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.2524, allocations: 151.4 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.2524, allocations: 16 kB / 0.9546 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.2526, allocations: 51.98 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2527, allocations: 91.66 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.2529, allocations: 127.2 kB / 0.9548 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.2533, allocations: 371 kB / 0.9552 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2533, allocations: 0 / 0.9552 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2533, allocations: 0 / 0.9552 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.2533, allocations: 0 / 0.9552 GB, free: 3.828 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009699/0.2543, allocations: 0.6185 MB / 0.9558 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2543, allocations: 8.031 kB / 0.9558 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.2544, allocations: 36.47 kB / 0.9558 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/0.2549, allocations: 374.2 kB / 0.9562 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.255, allocations: 11.94 kB / 0.9562 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.255, allocations: 8 kB / 0.9562 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.2552, allocations: 112.1 kB / 0.9563 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2553, allocations: 0 / 0.9563 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.2553, allocations: 7.984 kB / 0.9563 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2553, allocations: 4 kB / 0.9563 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.2555, allocations: 55.97 kB / 0.9564 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.2563, allocations: 0.4886 MB / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.2567, allocations: 134.8 kB / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.2568, allocations: 48.83 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2568, allocations: 4 kB / 0.957 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.2571, allocations: 115.4 kB / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.2571, allocations: 4 kB / 0.9571 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005715/0.2577, allocations: 224.8 kB / 0.9573 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2578, allocations: 55.41 kB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.2584, allocations: 0.5093 MB / 0.9579 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2584, allocations: 29.7 kB / 0.9579 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.2585, allocations: 164.4 kB / 0.9581 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.2586, allocations: 47.47 kB / 0.9581 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2587, allocations: 61.97 kB / 0.9582 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2588, allocations: 350.8 kB / 0.9585 GB, free: 184 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.2591, allocations: 96.52 kB / 0.9586 GB, free: 88 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.2593, allocations: 135.7 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.2597, allocations: 179.8 kB / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2597, allocations: 0 / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005781/0.2603, allocations: 329 kB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2603, allocations: 4 kB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2603, allocations: 8 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2603, allocations: 4 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.2606, allocations: 47.97 kB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2606, allocations: 7.938 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.2607, allocations: 19.78 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.2608, allocations: 15.98 kB / 0.9593 GB, free: 15.32 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,reaToInt1.y,reaToInt.y,intEqu.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.0001767/0.261, allocations: 173.8 kB / 0.9595 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.261, allocations: 27.62 kB / 0.9595 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/0.2611, allocations: 51.05 kB / 0.9596 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2611, allocations: 3.938 kB / 0.9596 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2611, allocations: 0 / 0.9596 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2611, allocations: 4 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.2614, allocations: 297.3 kB / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2614, allocations: 0 / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.2615, allocations: 15.98 kB / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2615, allocations: 0 / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2615, allocations: 11.92 kB / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2615, allocations: 4 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2615, allocations: 0 / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.2619, allocations: 208.7 kB / 0.9601 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/0.262, allocations: 108.7 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.2621, allocations: 11.94 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.2622, allocations: 7.938 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.2623, allocations: 23.97 kB / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.2623, allocations: 8 kB / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003428/0.2627, allocations: 319.1 kB / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2627, allocations: 0 / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003052/0.263, allocations: 52 kB / 0.9606 GB, free: 13.93 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009868/0.264, allocations: 421.9 kB / 0.961 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000458/0.2644, allocations: 195.8 kB / 0.9612 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2644, allocations: 0 / 0.9612 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.2646, allocations: 60.09 kB / 0.9612 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.2651, allocations: 97.28 kB / 0.9613 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009113/0.266, allocations: 0.5759 MB / 0.9619 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.2664, allocations: 0.7946 MB / 0.9627 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.668e-05/0.2665, allocations: 35.42 kB / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.2665, allocations: 0 / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of Templates: time 0.006943/0.2735, allocations: 4.367 MB / 0.967 GB, free: 7.516 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches