Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 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.001257/0.001257, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.141/2.141, allocations: 390.2 MB / 0.6647 GB, free: 376 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 60.14 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.526, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1511/0.6771, allocations: 157.9 MB / 1.104 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02353/0.7007, allocations: 22.13 MB / 1.126 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.7026, allocations: 63.69 kB / 1.126 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.7044, allocations: 1.379 MB / 1.127 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.7062, allocations: 1.016 MB / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.7076, allocations: 0.6444 MB / 1.129 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.7092, allocations: 1.681 MB / 1.13 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.7106, allocations: 0.9668 MB / 1.131 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.7113, allocations: 0.7281 MB / 1.132 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.7124, allocations: 1.195 MB / 1.133 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.7125, allocations: 92 kB / 1.133 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.7128, allocations: 144 kB / 1.133 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.7132, allocations: 416.3 kB / 1.134 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004963/0.7137, allocations: 0.6481 MB / 1.134 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.7151, allocations: 1.572 MB / 1.136 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.7151, allocations: 0 / 1.136 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7151, allocations: 0 / 1.136 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.7152, allocations: 0 / 1.136 GB, free: 2.711 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002988/0.7182, allocations: 1.922 MB / 1.138 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7182, allocations: 8.031 kB / 1.138 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.7183, allocations: 110.7 kB / 1.138 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.7186, allocations: 186.7 kB / 1.138 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.7198, allocations: 0.8631 MB / 1.139 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.7199, allocations: 91 kB / 1.139 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.72, allocations: 64 kB / 1.139 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.7212, allocations: 0.7215 MB / 1.14 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.7212, allocations: 3.906 kB / 1.14 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.7213, allocations: 27.98 kB / 1.14 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.7213, allocations: 19.94 kB / 1.14 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.723, allocations: 0.5438 MB / 1.14 GB, free: 14.01 MB / 0.9044 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.00486/0.7279, allocations: 3.628 MB / 1.144 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.7291, allocations: 0.6088 MB / 1.144 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/0.7298, allocations: 374.3 kB / 1.145 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.7299, allocations: 12.55 kB / 1.145 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006422/0.7305, allocations: 378.9 kB / 1.145 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 3.426e-06/0.7305, allocations: 4 kB / 1.145 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65): time 0.004556/0.7351, allocations: 1.784 MB / 1.147 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.7351, allocations: 63.91 kB / 1.147 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.7371, allocations: 2.251 MB / 1.149 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.7372, allocations: 41.7 kB / 1.149 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.7377, allocations: 0.7187 MB / 1.15 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.7379, allocations: 217 kB / 1.15 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.738, allocations: 122.7 kB / 1.15 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7381, allocations: 334 kB / 1.15 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.7387, allocations: 277.8 kB / 1.151 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.7394, allocations: 428.7 kB / 1.151 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.7405, allocations: 0.6586 MB / 1.152 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.7405, allocations: 12 kB / 1.152 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002026/0.7425, allocations: 1.116 MB / 1.153 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.7426, allocations: 4 kB / 1.153 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7426, allocations: 4 kB / 1.153 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007474/0.7433, allocations: 282.9 kB / 1.153 GB, free: 232 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.7437, allocations: 119.8 kB / 1.153 GB, free: 112 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004853/0.7486, allocations: 3.705 MB / 1.157 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.7491, allocations: 87.39 kB / 1.157 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.7491, allocations: 24 kB / 1.157 GB, free: 12.17 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.000475/0.7496, allocations: 471.8 kB / 1.157 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.7498, allocations: 157.9 kB / 1.158 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.75, allocations: 187.7 kB / 1.158 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.75, allocations: 4 kB / 1.158 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.75, allocations: 7.938 kB / 1.158 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.75, allocations: 3.984 kB / 1.158 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.7531, allocations: 2.037 MB / 1.16 GB, free: 9.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7531, allocations: 0 / 1.16 GB, free: 9.234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.7534, allocations: 51.97 kB / 1.16 GB, free: 9.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006816/0.754, allocations: 290.9 kB / 1.16 GB, free: 8.895 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.7541, allocations: 15.98 kB / 1.16 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.7593, allocations: 5.244 MB / 1.165 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7593, allocations: 0 / 1.165 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.7617, allocations: 1.4 MB / 1.167 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.7619, allocations: 266.9 kB / 1.167 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.7621, allocations: 16 kB / 1.167 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.7624, allocations: 35.95 kB / 1.167 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.7626, allocations: 72.47 kB / 1.167 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.7626, allocations: 24.12 kB / 1.167 GB, free: 1.508 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001527/0.7642, allocations: 1.628 MB / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7642, allocations: 0 / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007573/0.7649, allocations: 276.1 kB / 1.169 GB, free: 15.61 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003555/0.7685, allocations: 2.321 MB / 1.171 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.7704, allocations: 0.9498 MB / 1.172 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7704, allocations: 0.5 kB / 1.172 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7714, allocations: 0.6826 MB / 1.173 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.7726, allocations: 289.1 kB / 1.173 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.7867, allocations: 12.01 MB / 1.185 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009288/0.7876, allocations: 1.326 MB / 1.186 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000355/0.788, allocations: 122.4 kB / 1.186 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/0.7886, allocations: 0.5422 MB / 1.187 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.7886, allocations: 0 / 1.187 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05552/0.8441, allocations: 28.7 MB / 1.215 GB, free: 460 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.82, allocations: 7.922 kB / 1.215 GB, free: 452 kB / 0.9669 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)