Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001152/0.001152, 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.001172/0.001172, allocations: 193.2 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.72 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1523/0.4078, allocations: 156.7 MB / 1.206 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02397/0.4318, allocations: 21.75 MB / 1.227 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.4335, allocations: 59.62 kB / 1.227 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.4351, allocations: 1.153 MB / 1.228 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.4366, allocations: 0.864 MB / 1.229 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4377, allocations: 441.5 kB / 1.23 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.4392, allocations: 1.251 MB / 1.231 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000972/0.4402, allocations: 0.6872 MB / 1.232 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009379/0.4411, allocations: 0.5452 MB / 1.232 GB, free: 144 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.4423, allocations: 0.9177 MB / 1.233 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.4425, allocations: 64 kB / 1.233 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.4429, allocations: 112 kB / 1.233 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.4432, allocations: 320.7 kB / 1.233 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.4437, allocations: 496.8 kB / 1.234 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.4449, allocations: 1.183 MB / 1.235 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4449, allocations: 0 / 1.235 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4449, allocations: 0 / 1.235 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.054e-05/0.4449, allocations: 0 / 1.235 GB, free: 13.06 MB / 0.9981 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.002357/0.4473, allocations: 1.471 MB / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4473, allocations: 16.56 kB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.4474, allocations: 86.7 kB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.4476, allocations: 131.3 kB / 1.237 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008041/0.4484, allocations: 0.6587 MB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.4486, allocations: 74.62 kB / 1.237 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.4487, allocations: 44 kB / 1.238 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008977/0.4496, allocations: 0.5184 MB / 1.238 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4496, allocations: 4 kB / 1.238 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.4496, allocations: 16 kB / 1.238 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4497, allocations: 12 kB / 1.238 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/0.4505, allocations: 411.7 kB / 1.238 GB, free: 9.5 MB / 0.9981 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.003485/0.4539, allocations: 2.815 MB / 1.241 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.455, allocations: 456.4 kB / 1.242 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.4555, allocations: 282.6 kB / 1.242 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.4556, allocations: 12.66 kB / 1.242 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005529/0.4562, allocations: 294.1 kB / 1.242 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.946e-06/0.4562, allocations: 0 / 1.242 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002861/0.459, allocations: 1.241 MB / 1.243 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.4591, allocations: 59.41 kB / 1.243 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.4609, allocations: 1.752 MB / 1.245 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.461, allocations: 37.7 kB / 1.245 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.4614, allocations: 0.5218 MB / 1.246 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4615, allocations: 146 kB / 1.246 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.4617, allocations: 94.25 kB / 1.246 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4618, allocations: 322 kB / 1.246 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.4623, allocations: 224.9 kB / 1.246 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.4628, allocations: 336.8 kB / 1.247 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.4637, allocations: 0.5101 MB / 1.247 GB, free: 8 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4637, allocations: 3.938 kB / 1.247 GB, free: 4 kB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.3924/0.8561, allocations: 0.8402 MB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.8562, allocations: 6.844 kB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8562, allocations: 2.812 kB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.8568, allocations: 188.6 kB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.8571, allocations: 91.02 kB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.8601, allocations: 3.008 MB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.8605, allocations: 68.97 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.8606, allocations: 18.97 kB / 1.251 GB, free: 194.8 MB / 0.9981 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.0004377/0.861, allocations: 391 kB / 1.252 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8611, allocations: 113.1 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.8613, allocations: 142.8 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.8613, allocations: 6.031 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.8613, allocations: 6.812 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.8614, allocations: 3.234 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.8632, allocations: 1.561 MB / 1.254 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.8633, allocations: 0 / 1.254 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.8635, allocations: 51.02 kB / 1.254 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.8639, allocations: 195.3 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.8639, allocations: 13.67 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.8669, allocations: 4.546 MB / 1.258 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8669, allocations: 2.938 kB / 1.258 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.8684, allocations: 1.063 MB / 1.259 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.8686, allocations: 219.4 kB / 1.259 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.8687, allocations: 11.53 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.869, allocations: 26.52 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.8692, allocations: 57.39 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.8692, allocations: 20.98 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00105/0.8703, allocations: 1.277 MB / 1.261 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8703, allocations: 0 / 1.261 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006657/0.8709, allocations: 201.2 kB / 1.261 GB, free: 190.7 MB / 0.9981 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.002577/0.8735, allocations: 1.998 MB / 1.263 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.8749, allocations: 0.7453 MB / 1.264 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8749, allocations: 0 / 1.264 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.8757, allocations: 0.5493 MB / 1.264 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.8765, allocations: 199.8 kB / 1.264 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.8887, allocations: 9.148 MB / 1.273 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.8895, allocations: 1.154 MB / 1.275 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.8898, allocations: 84.53 kB / 1.275 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.8902, allocations: 407.9 kB / 1.275 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.8902, allocations: 0.875 kB / 1.275 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/0.9354, allocations: 20.87 MB / 1.295 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.946/9.881, allocations: 7.938 kB / 1.295 GB, free: 176.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)