Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.006756/0.006756, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001825/0.001825, allocations: 193.5 kB / 16.68 MB, free: 6.363 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.58/2.58, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 67.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2846, allocations: 162.3 MB / 1.242 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.6626/0.9473, allocations: 157.6 MB / 1.396 GB, free: 384 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.9724, allocations: 22.09 MB / 1.417 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.9741, allocations: 61.19 kB / 1.417 GB, free: 14.26 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.9765, allocations: 2.176 MB / 1.42 GB, free: 13.17 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.9784, allocations: 1.452 MB / 1.421 GB, free: 12.33 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.9798, allocations: 0.614 MB / 1.422 GB, free: 11.85 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.9816, allocations: 1.95 MB / 1.423 GB, free: 10.78 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.9828, allocations: 1.129 MB / 1.425 GB, free: 10.08 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009331/0.9838, allocations: 0.9186 MB / 1.425 GB, free: 9.598 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.9852, allocations: 1.595 MB / 1.427 GB, free: 8.902 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.9854, allocations: 97.09 kB / 1.427 GB, free: 8.902 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.9857, allocations: 146.8 kB / 1.427 GB, free: 8.879 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004451/0.9861, allocations: 0.5535 MB / 1.428 GB, free: 8.531 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006633/0.9868, allocations: 0.8052 MB / 1.429 GB, free: 7.918 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.9887, allocations: 1.965 MB / 1.43 GB, free: 5.984 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.9887, allocations: 0 / 1.43 GB, free: 5.984 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9887, allocations: 0 / 1.43 GB, free: 5.984 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.9888, allocations: 0 / 1.43 GB, free: 5.984 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003262/0.992, allocations: 2.434 MB / 1.433 GB, free: 3.484 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.9921, allocations: 12.03 kB / 1.433 GB, free: 3.473 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.9922, allocations: 114.5 kB / 1.433 GB, free: 3.352 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.9925, allocations: 254.3 kB / 1.433 GB, free: 3.102 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.9938, allocations: 1.069 MB / 1.434 GB, free: 1.965 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.9939, allocations: 91.69 kB / 1.434 GB, free: 1.871 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.994, allocations: 71.98 kB / 1.434 GB, free: 1.801 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.9954, allocations: 0.7933 MB / 1.435 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.9954, allocations: 0 / 1.435 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.9955, allocations: 35.92 kB / 1.435 GB, free: 0.957 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.9955, allocations: 16 kB / 1.435 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.9968, allocations: 0.6414 MB / 1.436 GB, free: 308 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004814/1.002, allocations: 3.73 MB / 1.44 GB, free: 12.3 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/1.003, allocations: 0.7485 MB / 1.44 GB, free: 11.55 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007843/1.004, allocations: 429.4 kB / 1.441 GB, free: 11.13 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/1.004, allocations: 12.55 kB / 1.441 GB, free: 11.12 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007897/1.005, allocations: 459.9 kB / 1.441 GB, free: 10.66 MB / 1.139 GB Notification: Performance of pre-optimization done (n=73): time 2.314e-06/1.005, allocations: 0 / 1.441 GB, free: 10.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=73): time 0.004102/1.009, allocations: 1.843 MB / 1.443 GB, free: 8.766 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.009, allocations: 68 kB / 1.443 GB, free: 8.688 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.012, allocations: 3.371 MB / 1.446 GB, free: 5.293 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/1.012, allocations: 41.7 kB / 1.446 GB, free: 5.246 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008159/1.013, allocations: 0.9415 MB / 1.447 GB, free: 4.301 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/1.013, allocations: 246 kB / 1.447 GB, free: 4.059 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.014, allocations: 134.7 kB / 1.448 GB, free: 3.922 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.014, allocations: 337.9 kB / 1.448 GB, free: 3.586 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/1.015, allocations: 321.7 kB / 1.448 GB, free: 3.273 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007771/1.015, allocations: 472.1 kB / 1.449 GB, free: 2.762 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/1.017, allocations: 0.7427 MB / 1.449 GB, free: 1.98 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.017, allocations: 4 kB / 1.449 GB, free: 1.977 MB / 1.139 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002267/1.019, allocations: 1.266 MB / 1.451 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.019, allocations: 8 kB / 1.451 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.019, allocations: 4 kB / 1.451 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/1.02, allocations: 257.6 kB / 1.451 GB, free: 436 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/1.02, allocations: 135.8 kB / 1.451 GB, free: 300 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005028/1.025, allocations: 4.75 MB / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/1.026, allocations: 115.4 kB / 1.456 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/1.026, allocations: 24 kB / 1.456 GB, free: 11.13 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007369/1.027, allocations: 0.6107 MB / 1.456 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/1.027, allocations: 226.4 kB / 1.457 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/1.027, allocations: 265.2 kB / 1.457 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.027, allocations: 4 kB / 1.457 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.027, allocations: 8 kB / 1.457 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.027, allocations: 3.984 kB / 1.457 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/1.031, allocations: 2.417 MB / 1.459 GB, free: 7.531 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.031, allocations: 3.938 kB / 1.459 GB, free: 7.527 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/1.031, allocations: 75.89 kB / 1.459 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005851/1.032, allocations: 249.6 kB / 1.46 GB, free: 7.203 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/1.032, allocations: 16 kB / 1.46 GB, free: 7.188 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004819/1.037, allocations: 4.752 MB / 1.464 GB, free: 2.164 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.037, allocations: 0 / 1.464 GB, free: 2.164 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/1.039, allocations: 1.647 MB / 1.466 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/1.04, allocations: 331.6 kB / 1.466 GB, free: 156 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.04, allocations: 24 kB / 1.466 GB, free: 132 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/1.04, allocations: 43.94 kB / 1.466 GB, free: 88 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.04, allocations: 80.48 kB / 1.466 GB, free: 8 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/1.04, allocations: 20.05 kB / 1.466 GB, free: 15.98 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002524/1.043, allocations: 2.476 MB / 1.469 GB, free: 13.5 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.51e-07/1.043, allocations: 0 / 1.469 GB, free: 13.5 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008001/1.044, allocations: 303.6 kB / 1.469 GB, free: 13.2 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.004514/1.048, allocations: 2.584 MB / 1.472 GB, free: 10.77 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.05, allocations: 1.098 MB / 1.473 GB, free: 9.641 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.05, allocations: 0 / 1.473 GB, free: 9.641 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.051, allocations: 0.7072 MB / 1.473 GB, free: 8.91 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/1.053, allocations: 297.5 kB / 1.474 GB, free: 8.629 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.071, allocations: 14.21 MB / 1.487 GB, free: 10.14 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.072, allocations: 1.556 MB / 1.489 GB, free: 8.559 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004299/1.073, allocations: 166.7 kB / 1.489 GB, free: 8.391 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008279/1.074, allocations: 0.7492 MB / 1.49 GB, free: 7.645 MB / 1.186 GB Notification: Performance of SimCode: time 5.11e-07/1.074, allocations: 0 / 1.49 GB, free: 7.645 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8291/1.903, allocations: 34.3 MB / 1.523 GB, free: 5.723 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/15.63, allocations: 11.84 kB / 1.523 GB, free: 5.711 MB / 1.217 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)