Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001732/0.001732, allocations: 198.3 kB / 16.14 MB, free: 6.711 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.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.368/2.368, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001795, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8683/0.8701, allocations: 140.4 MB / 0.9489 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2076/1.078, allocations: 154.5 MB / 1.1 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02829/1.106, allocations: 21.6 MB / 1.121 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/1.109, allocations: 51.69 kB / 1.121 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/1.111, allocations: 1.134 MB / 1.122 GB, free: 276 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/1.112, allocations: 0.8059 MB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/1.114, allocations: 383.2 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001557/1.115, allocations: 1.341 MB / 1.124 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007228/1.116, allocations: 0.6216 MB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006124/1.117, allocations: 498.2 kB / 1.126 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009419/1.118, allocations: 0.9098 MB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/1.118, allocations: 36 kB / 1.126 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/1.118, allocations: 79.98 kB / 1.127 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/1.118, allocations: 312.7 kB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/1.119, allocations: 468.8 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000936/1.119, allocations: 1.144 MB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.119, allocations: 0 / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.119, allocations: 0 / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.12, allocations: 0 / 1.128 GB, free: 9.688 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.002342/1.122, allocations: 1.482 MB / 1.13 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.122, allocations: 12.03 kB / 1.13 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/1.122, allocations: 135.2 kB / 1.13 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007865/1.123, allocations: 0.655 MB / 1.131 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/1.123, allocations: 74.69 kB / 1.131 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/1.123, allocations: 47.91 kB / 1.131 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009195/1.124, allocations: 0.5184 MB / 1.131 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/1.124, allocations: 7.984 kB / 1.131 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/1.124, allocations: 16 kB / 1.131 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/1.124, allocations: 16 kB / 1.131 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/1.125, allocations: 407.7 kB / 1.132 GB, free: 6.203 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.003641/1.129, allocations: 2.807 MB / 1.134 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.13, allocations: 455.7 kB / 1.135 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/1.13, allocations: 289.4 kB / 1.135 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/1.13, allocations: 12.64 kB / 1.135 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005782/1.131, allocations: 305.8 kB / 1.135 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 2.815e-06/1.131, allocations: 0 / 1.135 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002884/1.134, allocations: 1.246 MB / 1.137 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/1.134, allocations: 55.41 kB / 1.137 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.136, allocations: 1.748 MB / 1.138 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/1.136, allocations: 45.69 kB / 1.138 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/1.136, allocations: 0.514 MB / 1.139 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/1.136, allocations: 153.8 kB / 1.139 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/1.136, allocations: 94.25 kB / 1.139 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.136, allocations: 326 kB / 1.14 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/1.137, allocations: 217 kB / 1.14 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/1.138, allocations: 332.8 kB / 1.14 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008807/1.138, allocations: 0.5147 MB / 1.141 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.138, allocations: 0 / 1.141 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001576/1.14, allocations: 0.8411 MB / 1.141 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.14, allocations: 4 kB / 1.141 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.14, allocations: 4.125 kB / 1.141 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/1.141, allocations: 186 kB / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/1.141, allocations: 95.81 kB / 1.142 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/1.144, allocations: 2.75 MB / 1.144 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/1.145, allocations: 83.45 kB / 1.144 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/1.145, allocations: 20 kB / 1.144 GB, free: 8.582 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.0005946/1.145, allocations: 379.4 kB / 1.145 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/1.146, allocations: 114.6 kB / 1.145 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/1.146, allocations: 143.6 kB / 1.145 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/1.146, allocations: 12 kB / 1.145 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.146, allocations: 0 / 1.145 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.146, allocations: 0 / 1.145 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/1.148, allocations: 1.565 MB / 1.147 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.148, allocations: 3.938 kB / 1.147 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/1.148, allocations: 47.89 kB / 1.147 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/1.149, allocations: 195.5 kB / 1.147 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/1.149, allocations: 16 kB / 1.147 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/1.153, allocations: 4.126 MB / 1.151 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.153, allocations: 3.938 kB / 1.151 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/1.155, allocations: 1.065 MB / 1.152 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/1.155, allocations: 219.6 kB / 1.152 GB, free: 336 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.156, allocations: 12 kB / 1.152 GB, free: 324 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/1.156, allocations: 35.95 kB / 1.152 GB, free: 288 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.156, allocations: 55.86 kB / 1.152 GB, free: 232 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/1.156, allocations: 16 kB / 1.152 GB, free: 216 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001598/1.158, allocations: 1.277 MB / 1.153 GB, free: 14.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.51e-07/1.158, allocations: 0 / 1.153 GB, free: 14.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009091/1.159, allocations: 211.7 kB / 1.154 GB, free: 14.72 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.001244/1.16, allocations: 489.8 kB / 1.154 GB, free: 14.42 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001697/1.162, allocations: 0.723 MB / 1.155 GB, free: 13.69 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.162, allocations: 4.125 kB / 1.155 GB, free: 13.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009174/1.163, allocations: 0.5477 MB / 1.155 GB, free: 13.11 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.164, allocations: 178 kB / 1.156 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/1.168, allocations: 2.699 MB / 1.158 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008839/1.169, allocations: 1.153 MB / 1.159 GB, free: 9.023 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003464/1.169, allocations: 96.7 kB / 1.159 GB, free: 8.926 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/1.169, allocations: 39.42 kB / 1.159 GB, free: 8.887 MB / 0.92 GB Notification: Performance of SimCode: time 8.22e-07/1.169, allocations: 4 kB / 1.159 GB, free: 8.883 MB / 0.92 GB Notification: Performance of Templates: time 0.02134/1.191, allocations: 9.831 MB / 1.169 GB, free: 15.18 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches