Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.007481/0.007481, allocations: 99.89 kB / 15.73 MB, free: 6.055 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.001926/0.001926, allocations: 192.1 kB / 16.68 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 67.58 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2736, allocations: 162.3 MB / 1.242 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1638/0.4375, allocations: 156.8 MB / 1.395 GB, free: 11.5 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02359/0.4611, allocations: 21.76 MB / 1.416 GB, free: 5.684 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.4625, allocations: 55.69 kB / 1.416 GB, free: 5.629 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.464, allocations: 1.161 MB / 1.417 GB, free: 4.465 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.4652, allocations: 0.8562 MB / 1.418 GB, free: 3.605 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.4662, allocations: 442 kB / 1.419 GB, free: 3.176 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.4674, allocations: 1.255 MB / 1.42 GB, free: 1.918 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.4681, allocations: 0.6872 MB / 1.421 GB, free: 1.227 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.4687, allocations: 0.549 MB / 1.421 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.4697, allocations: 0.9138 MB / 1.422 GB, free: 15.76 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.4698, allocations: 64 kB / 1.422 GB, free: 15.7 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.4701, allocations: 120 kB / 1.422 GB, free: 15.58 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.4703, allocations: 316.7 kB / 1.422 GB, free: 15.27 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.4708, allocations: 496.8 kB / 1.423 GB, free: 14.78 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.4719, allocations: 1.206 MB / 1.424 GB, free: 13.57 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4719, allocations: 0 / 1.424 GB, free: 13.57 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.393e-06/0.472, allocations: 0 / 1.424 GB, free: 13.57 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.472, allocations: 0 / 1.424 GB, free: 13.57 MB / 1.154 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.002126/0.4741, allocations: 1.525 MB / 1.426 GB, free: 11.99 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4741, allocations: 8.031 kB / 1.426 GB, free: 11.98 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.629e-05/0.4742, allocations: 86.7 kB / 1.426 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.4744, allocations: 140 kB / 1.426 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007956/0.4752, allocations: 0.6677 MB / 1.426 GB, free: 11.04 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.4753, allocations: 78.62 kB / 1.427 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.4754, allocations: 48 kB / 1.427 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.4763, allocations: 0.5145 MB / 1.427 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4764, allocations: 4 kB / 1.427 GB, free: 10.37 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.4764, allocations: 16 kB / 1.427 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4764, allocations: 8 kB / 1.427 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.4773, allocations: 419.7 kB / 1.428 GB, free: 9.941 MB / 1.154 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.00348/0.4808, allocations: 2.804 MB / 1.43 GB, free: 6.887 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.4818, allocations: 466 kB / 1.431 GB, free: 6.426 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.4823, allocations: 281.3 kB / 1.431 GB, free: 6.148 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.4824, allocations: 8.328 kB / 1.431 GB, free: 6.141 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.4829, allocations: 298.5 kB / 1.431 GB, free: 5.84 MB / 1.154 GB Notification: Performance of pre-optimization done (n=45): time 1.753e-06/0.4829, allocations: 0 / 1.431 GB, free: 5.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.002789/0.4857, allocations: 1.25 MB / 1.432 GB, free: 4.539 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.4858, allocations: 59.41 kB / 1.433 GB, free: 4.469 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.4875, allocations: 1.748 MB / 1.434 GB, free: 2.711 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.4876, allocations: 41.7 kB / 1.434 GB, free: 2.664 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.488, allocations: 0.5183 MB / 1.435 GB, free: 2.141 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.4881, allocations: 154.7 kB / 1.435 GB, free: 1.988 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.4883, allocations: 94.25 kB / 1.435 GB, free: 1.887 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.4884, allocations: 330 kB / 1.435 GB, free: 1.559 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.4889, allocations: 221 kB / 1.436 GB, free: 1.344 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.4895, allocations: 328.8 kB / 1.436 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008901/0.4904, allocations: 0.5174 MB / 1.436 GB, free: 440 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.4904, allocations: 3.938 kB / 1.436 GB, free: 436 kB / 1.154 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001564/0.4919, allocations: 0.8453 MB / 1.437 GB, free: 15.57 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.492, allocations: 12.05 kB / 1.437 GB, free: 15.56 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.492, allocations: 4 kB / 1.437 GB, free: 15.56 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/0.4925, allocations: 176.8 kB / 1.437 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.4928, allocations: 99.81 kB / 1.437 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.4963, allocations: 3.006 MB / 1.44 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.4966, allocations: 75.69 kB / 1.44 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.4967, allocations: 20 kB / 1.441 GB, free: 12.05 MB / 1.17 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.0004376/0.4971, allocations: 387.2 kB / 1.441 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.4973, allocations: 119.2 kB / 1.441 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.4975, allocations: 151.7 kB / 1.441 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4975, allocations: 7.984 kB / 1.441 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4975, allocations: 0 / 1.441 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4975, allocations: 4 kB / 1.441 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.4999, allocations: 1.567 MB / 1.443 GB, free: 9.746 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4999, allocations: 0 / 1.443 GB, free: 9.746 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.5001, allocations: 43.91 kB / 1.443 GB, free: 9.703 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.5006, allocations: 197.6 kB / 1.443 GB, free: 9.504 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.5006, allocations: 11.94 kB / 1.443 GB, free: 9.492 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004378/0.505, allocations: 4.559 MB / 1.447 GB, free: 4.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.505, allocations: 0 / 1.447 GB, free: 4.66 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.5068, allocations: 1.071 MB / 1.448 GB, free: 3.566 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.507, allocations: 220.2 kB / 1.449 GB, free: 3.332 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.5071, allocations: 12 kB / 1.449 GB, free: 3.32 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.5074, allocations: 31.97 kB / 1.449 GB, free: 3.289 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.5076, allocations: 51.92 kB / 1.449 GB, free: 3.238 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.5076, allocations: 15.98 kB / 1.449 GB, free: 3.223 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001343/0.509, allocations: 1.284 MB / 1.45 GB, free: 1.934 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/0.509, allocations: 0 / 1.45 GB, free: 1.934 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007345/0.5097, allocations: 199.7 kB / 1.45 GB, free: 1.738 MB / 1.17 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.003648/0.5134, allocations: 1.989 MB / 1.452 GB, free: 15.9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.5148, allocations: 0.7119 MB / 1.453 GB, free: 15.18 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5149, allocations: 0 / 1.453 GB, free: 15.18 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008738/0.5157, allocations: 0.5517 MB / 1.453 GB, free: 14.6 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.5166, allocations: 203.3 kB / 1.454 GB, free: 14.41 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.528, allocations: 8.617 MB / 1.462 GB, free: 5.582 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/0.5288, allocations: 1.165 MB / 1.463 GB, free: 4.387 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002409/0.5291, allocations: 84.78 kB / 1.463 GB, free: 4.305 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.5295, allocations: 407.3 kB / 1.464 GB, free: 3.906 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.5295, allocations: 3.938 kB / 1.464 GB, free: 3.902 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7277/1.257, allocations: 21.25 MB / 1.484 GB, free: 14.98 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.32, allocations: 7.875 kB / 1.484 GB, free: 14.97 MB / 1.217 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)