Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005413/0.005413, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001268/0.001268, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.463/1.463, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6046, allocations: 140.3 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1711/0.7757, allocations: 154.5 MB / 1.1 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02406/0.7998, allocations: 21.6 MB / 1.122 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.8016, allocations: 51.62 kB / 1.122 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.8033, allocations: 1.13 MB / 1.123 GB, free: 288 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.8047, allocations: 0.8098 MB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.8057, allocations: 382.3 kB / 1.124 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.807, allocations: 1.345 MB / 1.125 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.8077, allocations: 0.6139 MB / 1.126 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005906/0.8083, allocations: 0.4905 MB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009551/0.8092, allocations: 0.9098 MB / 1.127 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.629e-05/0.8094, allocations: 36 kB / 1.127 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.8096, allocations: 79.98 kB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.8099, allocations: 312.7 kB / 1.128 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.8103, allocations: 464.8 kB / 1.128 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007785/0.811, allocations: 0.9122 MB / 1.129 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8111, allocations: 0 / 1.129 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.41e-07/0.8111, allocations: 0 / 1.129 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.8111, allocations: 4 kB / 1.129 GB, free: 9.934 MB / 0.8887 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.002456/0.8135, allocations: 1.479 MB / 1.13 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.8136, allocations: 12.03 kB / 1.13 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.8138, allocations: 139.2 kB / 1.13 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.8146, allocations: 0.6589 MB / 1.131 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.8147, allocations: 70.69 kB / 1.131 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.8148, allocations: 51.91 kB / 1.131 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/0.8158, allocations: 0.5145 MB / 1.132 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.8158, allocations: 4 kB / 1.132 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.8158, allocations: 16 kB / 1.132 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.8159, allocations: 12 kB / 1.132 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.8167, allocations: 419.7 kB / 1.132 GB, free: 6.445 MB / 0.8887 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.003432/0.8201, allocations: 2.796 MB / 1.135 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000987/0.8211, allocations: 463.3 kB / 1.135 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.8217, allocations: 283.3 kB / 1.136 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.8217, allocations: 8.656 kB / 1.136 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.8223, allocations: 309.7 kB / 1.136 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/0.8223, allocations: 4 kB / 1.136 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002837/0.8252, allocations: 1.242 MB / 1.137 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.8252, allocations: 55.41 kB / 1.137 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.827, allocations: 1.752 MB / 1.139 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.827, allocations: 37.7 kB / 1.139 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.8274, allocations: 0.5179 MB / 1.139 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.8276, allocations: 145.9 kB / 1.14 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.8277, allocations: 98.67 kB / 1.14 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8278, allocations: 330 kB / 1.14 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.8283, allocations: 217 kB / 1.14 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.8289, allocations: 324.8 kB / 1.14 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008841/0.8297, allocations: 0.518 MB / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8298, allocations: 0 / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001679/0.8314, allocations: 0.845 MB / 1.142 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.8315, allocations: 11.98 kB / 1.142 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8315, allocations: 4 kB / 1.142 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/0.832, allocations: 183.1 kB / 1.142 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.8324, allocations: 99.75 kB / 1.142 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.8357, allocations: 2.745 MB / 1.145 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.8362, allocations: 79.39 kB / 1.145 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.8362, allocations: 20 kB / 1.145 GB, free: 8.832 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005063/0.8368, allocations: 387.4 kB / 1.145 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.8369, allocations: 114.6 kB / 1.145 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.8371, allocations: 143.6 kB / 1.145 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.8371, allocations: 4 kB / 1.145 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/0.8371, allocations: 7.984 kB / 1.145 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.8372, allocations: 0 / 1.145 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.8396, allocations: 1.565 MB / 1.147 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.8396, allocations: 4 kB / 1.147 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.8398, allocations: 47.91 kB / 1.147 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.8403, allocations: 191.3 kB / 1.147 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.8404, allocations: 15.98 kB / 1.147 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00417/0.8446, allocations: 4.119 MB / 1.151 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8446, allocations: 3.984 kB / 1.151 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.8466, allocations: 1.061 MB / 1.152 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.8469, allocations: 219.6 kB / 1.153 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.847, allocations: 19.97 kB / 1.153 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.8473, allocations: 31.97 kB / 1.153 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.8475, allocations: 55.86 kB / 1.153 GB, free: 492 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.8475, allocations: 15.98 kB / 1.153 GB, free: 476 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001363/0.8489, allocations: 1.281 MB / 1.154 GB, free: 15.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8489, allocations: 4 kB / 1.154 GB, free: 15.17 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000833/0.8498, allocations: 203.7 kB / 1.154 GB, free: 14.97 MB / 0.92 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,13,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.001167/0.8509, allocations: 492.6 kB / 1.155 GB, free: 14.67 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.8524, allocations: 0.7188 MB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.8524, allocations: 0 / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.8532, allocations: 0.5481 MB / 1.156 GB, free: 13.37 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.8542, allocations: 186.1 kB / 1.156 GB, free: 13.19 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.8579, allocations: 2.749 MB / 1.159 GB, free: 10.41 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.8586, allocations: 1.142 MB / 1.16 GB, free: 9.234 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.8587, allocations: 51.42 kB / 1.16 GB, free: 9.184 MB / 0.92 GB Notification: Performance of SimCode: time 1.753e-06/0.8587, allocations: 0 / 1.16 GB, free: 9.184 MB / 0.92 GB Notification: Performance of Templates: time 0.02377/0.8825, allocations: 17.83 MB / 1.177 GB, free: 7.387 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches