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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007968/0.0007971, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 185.3 kB / 16.92 MB, free: 6.688 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: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 12.19 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5936, allocations: 153.8 MB / 1.024 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1542/0.7479, allocations: 152.4 MB / 1.172 GB, free: 6.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02405/0.772, allocations: 21.38 MB / 1.193 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.7738, allocations: 51.69 kB / 1.193 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.7755, allocations: 1.119 MB / 1.195 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.7771, allocations: 0.8138 MB / 1.195 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.7784, allocations: 391 kB / 1.196 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.78, allocations: 1.348 MB / 1.197 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009107/0.7809, allocations: 0.5943 MB / 1.198 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007746/0.7817, allocations: 470.3 kB / 1.198 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.7828, allocations: 0.8864 MB / 1.199 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.7829, allocations: 28 kB / 1.199 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.7832, allocations: 71.97 kB / 1.199 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.7835, allocations: 292.7 kB / 1.199 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.784, allocations: 470.5 kB / 1.2 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000834/0.7848, allocations: 0.8963 MB / 1.201 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7848, allocations: 7.984 kB / 1.201 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7848, allocations: 0 / 1.201 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.302e-05/0.7849, allocations: 0 / 1.201 GB, free: 10.12 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.002211/0.7871, allocations: 1.316 MB / 1.202 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.7871, allocations: 12.03 kB / 1.202 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.7874, allocations: 131.3 kB / 1.202 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.7882, allocations: 0.6511 MB / 1.203 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.7884, allocations: 82.62 kB / 1.203 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.171e-05/0.7885, allocations: 55.92 kB / 1.203 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.7895, allocations: 0.5224 MB / 1.203 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.7895, allocations: 0 / 1.203 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.7896, allocations: 24 kB / 1.203 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.7896, allocations: 8 kB / 1.203 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009076/0.7905, allocations: 435.7 kB / 1.204 GB, free: 6.77 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.003709/0.7943, allocations: 2.778 MB / 1.206 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.7953, allocations: 468.7 kB / 1.207 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.796, allocations: 309.3 kB / 1.207 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.796, allocations: 12.25 kB / 1.207 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005747/0.7966, allocations: 299.6 kB / 1.207 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.364e-06/0.7966, allocations: 0 / 1.207 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002786/0.7994, allocations: 1.192 MB / 1.209 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.7995, allocations: 55.41 kB / 1.209 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.8014, allocations: 1.76 MB / 1.21 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.8014, allocations: 37.7 kB / 1.21 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.8019, allocations: 0.5326 MB / 1.211 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.802, allocations: 142 kB / 1.211 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.8021, allocations: 53.69 kB / 1.211 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.8022, allocations: 330 kB / 1.211 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.8028, allocations: 233 kB / 1.212 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/0.8034, allocations: 363.2 kB / 1.212 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.8043, allocations: 0.5386 MB / 1.213 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.8044, allocations: 7.922 kB / 1.213 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001691/0.8061, allocations: 0.8415 MB / 1.213 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.8061, allocations: 8 kB / 1.213 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8061, allocations: 4 kB / 1.213 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.8065, allocations: 136.9 kB / 1.214 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.807, allocations: 111.8 kB / 1.214 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.8097, allocations: 2.395 MB / 1.216 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.8103, allocations: 91.45 kB / 1.216 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.8103, allocations: 20 kB / 1.216 GB, free: 9.512 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.000529/0.8109, allocations: 388.6 kB / 1.216 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.811, allocations: 114.6 kB / 1.217 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.8113, allocations: 151.7 kB / 1.217 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.8113, allocations: 8 kB / 1.217 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.8113, allocations: 3.938 kB / 1.217 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8113, allocations: 0 / 1.217 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.8138, allocations: 1.515 MB / 1.218 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8139, allocations: 4 kB / 1.218 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.8141, allocations: 51.89 kB / 1.218 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.8145, allocations: 165.6 kB / 1.218 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.8146, allocations: 11.98 kB / 1.218 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.818, allocations: 3.711 MB / 1.222 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.818, allocations: 0 / 1.222 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.8198, allocations: 1.015 MB / 1.223 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.8201, allocations: 223.5 kB / 1.223 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.8203, allocations: 11.94 kB / 1.223 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.8206, allocations: 47.91 kB / 1.223 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.8208, allocations: 51.91 kB / 1.223 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.8208, allocations: 12 kB / 1.223 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001403/0.8222, allocations: 1.289 MB / 1.225 GB, free: 384 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8222, allocations: 0 / 1.225 GB, free: 384 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007921/0.823, allocations: 207.6 kB / 1.225 GB, free: 176 kB / 0.9669 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.001132/0.8242, allocations: 487.2 kB / 1.225 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.8256, allocations: 0.6941 MB / 1.226 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8257, allocations: 0 / 1.226 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008405/0.8265, allocations: 0.5363 MB / 1.227 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.8276, allocations: 176.6 kB / 1.227 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.8316, allocations: 2.827 MB / 1.229 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007975/0.8324, allocations: 1.146 MB / 1.231 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.8326, allocations: 43.42 kB / 1.231 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.8326, allocations: 0 / 1.231 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Templates: time 0.02487/0.8575, allocations: 17.59 MB / 1.248 GB, free: 8.801 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