Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005677/0.005677, allocations: 100.9 kB / 15.87 MB, free: 5.863 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.001361/0.001361, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.392/2.392, allocations: 390.3 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6917, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1758/0.8675, allocations: 154.5 MB / 1.1 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02607/0.8936, allocations: 21.6 MB / 1.122 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.8959, allocations: 51.69 kB / 1.122 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.8979, allocations: 1.138 MB / 1.123 GB, free: 240 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.8996, allocations: 0.8061 MB / 1.123 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.9008, allocations: 374.6 kB / 1.124 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.9026, allocations: 1.348 MB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.9037, allocations: 0.6216 MB / 1.126 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008918/0.9046, allocations: 494.2 kB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.9058, allocations: 0.9098 MB / 1.127 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.906, allocations: 36 kB / 1.127 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.9064, allocations: 87.92 kB / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.9067, allocations: 304.8 kB / 1.128 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/0.9073, allocations: 468.8 kB / 1.128 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.9084, allocations: 0.9122 MB / 1.129 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9084, allocations: 0 / 1.129 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9084, allocations: 4 kB / 1.129 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.577e-05/0.9084, allocations: 0 / 1.129 GB, free: 9.891 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.002856/0.9113, allocations: 1.479 MB / 1.13 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.9113, allocations: 8.031 kB / 1.13 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.9116, allocations: 135.2 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009683/0.9126, allocations: 0.6551 MB / 1.131 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.9127, allocations: 74.62 kB / 1.131 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.9128, allocations: 51.91 kB / 1.131 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.9138, allocations: 0.5184 MB / 1.132 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.9139, allocations: 0 / 1.132 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.9139, allocations: 19.98 kB / 1.132 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.914, allocations: 12 kB / 1.132 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/0.9148, allocations: 415.7 kB / 1.132 GB, free: 6.41 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.003844/0.9187, allocations: 2.727 MB / 1.135 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009912/0.9197, allocations: 453.8 kB / 1.135 GB, free: 3 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.9204, allocations: 301.3 kB / 1.136 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.9204, allocations: 4.656 kB / 1.136 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005759/0.921, allocations: 283 kB / 1.136 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/0.921, allocations: 3.938 kB / 1.136 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002633/0.9237, allocations: 1.155 MB / 1.137 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.9237, allocations: 59.41 kB / 1.137 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.9256, allocations: 1.76 MB / 1.139 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.9256, allocations: 37.7 kB / 1.139 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.9261, allocations: 0.5288 MB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.9262, allocations: 138.1 kB / 1.139 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.9264, allocations: 106.1 kB / 1.139 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9265, allocations: 322 kB / 1.14 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.927, allocations: 217 kB / 1.14 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.9275, allocations: 339.1 kB / 1.14 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.9285, allocations: 0.5147 MB / 1.141 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.9285, allocations: 7.938 kB / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001592/0.9301, allocations: 0.8026 MB / 1.142 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9301, allocations: 4 kB / 1.142 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.9301, allocations: 8.219 kB / 1.142 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/0.9305, allocations: 144.6 kB / 1.142 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.9309, allocations: 95.88 kB / 1.142 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.9337, allocations: 2.383 MB / 1.144 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.9342, allocations: 91.45 kB / 1.144 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.9342, allocations: 20 kB / 1.144 GB, free: 9.367 MB / 0.9044 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.0004981/0.9347, allocations: 389.2 kB / 1.145 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.9349, allocations: 114.5 kB / 1.145 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.9351, allocations: 139.7 kB / 1.145 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9351, allocations: 4 kB / 1.145 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.9351, allocations: 7.938 kB / 1.145 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.9351, allocations: 7.984 kB / 1.145 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.9374, allocations: 1.482 MB / 1.146 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9374, allocations: 0 / 1.146 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.9377, allocations: 47.97 kB / 1.146 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/0.9381, allocations: 167.5 kB / 1.147 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.9381, allocations: 11.98 kB / 1.147 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/0.9415, allocations: 3.685 MB / 1.15 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9415, allocations: 0 / 1.15 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.9433, allocations: 0.9906 MB / 1.151 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.9435, allocations: 211.6 kB / 1.151 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.9436, allocations: 15.94 kB / 1.151 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.944, allocations: 35.91 kB / 1.151 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.9441, allocations: 51.91 kB / 1.151 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.9442, allocations: 20 kB / 1.151 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001359/0.9455, allocations: 1.289 MB / 1.153 GB, free: 344 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9455, allocations: 0 / 1.153 GB, free: 344 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007487/0.9463, allocations: 207.7 kB / 1.153 GB, free: 136 kB / 0.9044 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.001143/0.9474, allocations: 485.5 kB / 1.153 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.9488, allocations: 0.6702 MB / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9488, allocations: 0 / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.9496, allocations: 0.5252 MB / 1.155 GB, free: 14.61 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.9506, allocations: 191.3 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.9543, allocations: 2.738 MB / 1.157 GB, free: 11.65 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.9551, allocations: 1.142 MB / 1.159 GB, free: 10.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.9552, allocations: 47.42 kB / 1.159 GB, free: 10.43 MB / 0.92 GB Notification: Performance of SimCode: time 5.41e-07/0.9552, allocations: 4 kB / 1.159 GB, free: 10.43 MB / 0.92 GB Notification: Performance of Templates: time 0.02375/0.979, allocations: 17.8 MB / 1.176 GB, free: 8.664 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches