Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 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.001251/0.001251, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 69.75 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3341, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1847/0.5188, allocations: 156.8 MB / 1.206 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02828/0.5471, allocations: 21.75 MB / 1.227 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.5493, allocations: 55.69 kB / 1.227 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.5514, allocations: 1.153 MB / 1.228 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.5532, allocations: 0.8601 MB / 1.229 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.5546, allocations: 442.8 kB / 1.23 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.5563, allocations: 1.247 MB / 1.231 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.5575, allocations: 0.6833 MB / 1.232 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.5585, allocations: 0.5529 MB / 1.232 GB, free: 92 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.5598, allocations: 0.9177 MB / 1.233 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.56, allocations: 64 kB / 1.233 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.5603, allocations: 108 kB / 1.233 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.5606, allocations: 316.8 kB / 1.233 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005075/0.5611, allocations: 496.8 kB / 1.234 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5623, allocations: 1.179 MB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.5623, allocations: 0 / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5623, allocations: 0 / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.5623, allocations: 0 / 1.235 GB, free: 13.02 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.002161/0.5645, allocations: 1.482 MB / 1.237 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5645, allocations: 16.62 kB / 1.237 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.71e-05/0.5647, allocations: 78.7 kB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.5648, allocations: 131.3 kB / 1.237 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.5656, allocations: 0.6547 MB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.5658, allocations: 74.69 kB / 1.237 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.5659, allocations: 51.98 kB / 1.237 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/0.5668, allocations: 0.5223 MB / 1.238 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.5668, allocations: 0 / 1.238 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.5669, allocations: 16 kB / 1.238 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.5669, allocations: 12 kB / 1.238 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.5677, allocations: 407.7 kB / 1.238 GB, free: 9.457 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.003494/0.5712, allocations: 2.747 MB / 1.241 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.5722, allocations: 447.6 kB / 1.242 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.5729, allocations: 306.1 kB / 1.242 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.5729, allocations: 8.641 kB / 1.242 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005729/0.5735, allocations: 279.4 kB / 1.242 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.956e-06/0.5735, allocations: 4 kB / 1.242 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002667/0.5762, allocations: 1.151 MB / 1.243 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.5763, allocations: 59.34 kB / 1.243 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.5782, allocations: 1.772 MB / 1.245 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.5783, allocations: 37.7 kB / 1.245 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.5787, allocations: 0.5172 MB / 1.246 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.5789, allocations: 145.9 kB / 1.246 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.579, allocations: 98.25 kB / 1.246 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.5792, allocations: 330 kB / 1.246 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.5797, allocations: 209 kB / 1.246 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.5802, allocations: 347.1 kB / 1.247 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/0.5812, allocations: 0.5108 MB / 1.247 GB, free: 88 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.5812, allocations: 3.938 kB / 1.247 GB, free: 84 kB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.5598/1.141, allocations: 0.7983 MB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.141, allocations: 7.266 kB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.141, allocations: 3.688 kB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/1.142, allocations: 136.1 kB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/1.142, allocations: 102.8 kB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/1.144, allocations: 2.608 MB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/1.145, allocations: 78.5 kB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/1.145, allocations: 20.41 kB / 1.251 GB, free: 194.6 MB / 0.9981 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.0004639/1.145, allocations: 393.6 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.145, allocations: 117.4 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/1.146, allocations: 138.9 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.146, allocations: 7.969 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.146, allocations: 2.844 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.146, allocations: 5.859 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/1.147, allocations: 1.482 MB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.147, allocations: 3.781 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/1.148, allocations: 42.58 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/1.148, allocations: 164 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/1.148, allocations: 13.66 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/1.151, allocations: 4.037 MB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.151, allocations: 3 kB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/1.152, allocations: 0.9863 MB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/1.152, allocations: 210.6 kB / 1.258 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/1.152, allocations: 19.19 kB / 1.258 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/1.153, allocations: 33.52 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.153, allocations: 52.94 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/1.153, allocations: 11.48 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001054/1.154, allocations: 1.287 MB / 1.26 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.154, allocations: 0 / 1.26 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006368/1.154, allocations: 204.8 kB / 1.26 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,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.002472/1.157, allocations: 1.909 MB / 1.262 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001237/1.158, allocations: 0.688 MB / 1.262 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.158, allocations: 0 / 1.262 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006518/1.159, allocations: 0.5246 MB / 1.263 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.0008685/1.16, allocations: 210.3 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.172, allocations: 9.08 MB / 1.272 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/1.172, allocations: 1.15 MB / 1.273 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003169/1.173, allocations: 90.31 kB / 1.273 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/1.173, allocations: 405.2 kB / 1.273 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.173, allocations: 0 / 1.273 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04378/1.217, allocations: 20.49 MB / 1.293 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.904/10.12, allocations: 10.3 kB / 1.293 GB, free: 177.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)