Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 109.4 kB / 15.99 MB, free: 5.891 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.001159/0.001159, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7107 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 0.8694 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7196/0.7211, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1853/0.9064, allocations: 154.6 MB / 1.168 GB, free: 7.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03255/0.939, allocations: 21.49 MB / 1.189 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.9417, allocations: 47.75 kB / 1.189 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.9436, allocations: 1.13 MB / 1.191 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.9456, allocations: 0.8255 MB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.9471, allocations: 386.9 kB / 1.192 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.9489, allocations: 1.259 MB / 1.193 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.9501, allocations: 0.6772 MB / 1.194 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.9511, allocations: 0.5568 MB / 1.194 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.9525, allocations: 0.9566 MB / 1.195 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.9527, allocations: 64 kB / 1.195 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.9531, allocations: 116 kB / 1.195 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.9534, allocations: 328.8 kB / 1.196 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004644/0.9538, allocations: 496.8 kB / 1.196 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000938/0.9548, allocations: 0.9278 MB / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9548, allocations: 0 / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9548, allocations: 0 / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.9548, allocations: 4 kB / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00221/0.957, allocations: 1.478 MB / 1.198 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.9571, allocations: 8.031 kB / 1.198 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.9573, allocations: 131.3 kB / 1.199 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/0.9581, allocations: 0.6588 MB / 1.199 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.9582, allocations: 78.67 kB / 1.199 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/0.9583, allocations: 44 kB / 1.199 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.9593, allocations: 0.5184 MB / 1.2 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.9593, allocations: 3.938 kB / 1.2 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.9594, allocations: 20 kB / 1.2 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.9594, allocations: 8 kB / 1.2 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.9602, allocations: 411.7 kB / 1.2 GB, free: 6.703 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.9636, allocations: 2.735 MB / 1.203 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/0.9646, allocations: 448.5 kB / 1.203 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/0.9652, allocations: 314.8 kB / 1.204 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.9653, allocations: 4.656 kB / 1.204 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.9658, allocations: 287.2 kB / 1.204 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 3.627e-06/0.9658, allocations: 0 / 1.204 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002619/0.9685, allocations: 1.145 MB / 1.205 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.9685, allocations: 59.41 kB / 1.205 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.9706, allocations: 1.76 MB / 1.207 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.9707, allocations: 33.7 kB / 1.207 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.9713, allocations: 0.5366 MB / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.9714, allocations: 142 kB / 1.208 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.9716, allocations: 94.25 kB / 1.208 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.9718, allocations: 334 kB / 1.208 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.9723, allocations: 205 kB / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.9729, allocations: 347.1 kB / 1.208 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.9739, allocations: 0.5166 MB / 1.209 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.9739, allocations: 7.938 kB / 1.209 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00164/0.9756, allocations: 0.8049 MB / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.9756, allocations: 8 kB / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.9756, allocations: 11.97 kB / 1.21 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.9761, allocations: 136.9 kB / 1.21 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.9765, allocations: 103.9 kB / 1.21 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/0.9798, allocations: 2.602 MB / 1.213 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.9804, allocations: 83.55 kB / 1.213 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.9804, allocations: 20 kB / 1.213 GB, free: 9.422 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006487/0.9811, allocations: 383.3 kB / 1.213 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.9813, allocations: 122.4 kB / 1.213 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.9815, allocations: 151.7 kB / 1.213 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.9815, allocations: 4 kB / 1.213 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.9815, allocations: 4 kB / 1.213 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.9815, allocations: 0 / 1.213 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.9839, allocations: 1.496 MB / 1.215 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9839, allocations: 0 / 1.215 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.9842, allocations: 43.97 kB / 1.215 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004038/0.9846, allocations: 177.5 kB / 1.215 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.9846, allocations: 8 kB / 1.215 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003806/0.9884, allocations: 4.023 MB / 1.219 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9885, allocations: 0 / 1.219 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.9903, allocations: 0.9872 MB / 1.22 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.9907, allocations: 211.7 kB / 1.22 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.9908, allocations: 15.98 kB / 1.22 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.9912, allocations: 43.86 kB / 1.22 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.9914, allocations: 51.88 kB / 1.22 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.9914, allocations: 15.92 kB / 1.22 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001675/0.9931, allocations: 1.293 MB / 1.221 GB, free: 20 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9931, allocations: 0 / 1.221 GB, free: 20 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008962/0.994, allocations: 203.8 kB / 1.222 GB, free: 15.82 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/0.9953, allocations: 478.1 kB / 1.222 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.9969, allocations: 0.6976 MB / 1.223 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.9969, allocations: 4 kB / 1.223 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.9978, allocations: 0.5248 MB / 1.223 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9989, allocations: 202.6 kB / 1.223 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/1.003, allocations: 2.738 MB / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009941/1.004, allocations: 1.142 MB / 1.227 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.005, allocations: 51.42 kB / 1.227 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/1.005, allocations: 0 / 1.227 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Templates: time 0.027/1.032, allocations: 17.8 MB / 1.245 GB, free: 8.309 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches