Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase4,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_9_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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 148 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.001186/0.001186, allocations: 197.3 kB / 16.53 MB, free: 6.656 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.115/2.115, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.05 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4923, allocations: 140.4 MB / 0.9497 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1427/0.635, allocations: 156.7 MB / 1.103 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02101/0.6561, allocations: 21.74 MB / 1.124 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.6573, allocations: 55.69 kB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.6586, allocations: 1.161 MB / 1.125 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.6597, allocations: 0.8484 MB / 1.126 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.6605, allocations: 446.1 kB / 1.126 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009608/0.6615, allocations: 1.255 MB / 1.128 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006375/0.6621, allocations: 0.6804 MB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.6626, allocations: 0.5607 MB / 1.129 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/0.6635, allocations: 0.9138 MB / 1.13 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.74e-05/0.6636, allocations: 68 kB / 1.13 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.6638, allocations: 104 kB / 1.13 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.664, allocations: 312.8 kB / 1.13 GB, free: 8.375 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.6644, allocations: 496.8 kB / 1.131 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.6653, allocations: 1.187 MB / 1.132 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.6653, allocations: 4 kB / 1.132 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6653, allocations: 0 / 1.132 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.6653, allocations: 4 kB / 1.132 GB, free: 6.688 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001861/0.6672, allocations: 1.471 MB / 1.133 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.6672, allocations: 8.031 kB / 1.133 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.6673, allocations: 82.72 kB / 1.133 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.6675, allocations: 139.2 kB / 1.134 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.6682, allocations: 0.6587 MB / 1.134 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.6683, allocations: 70.69 kB / 1.134 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.6684, allocations: 51.91 kB / 1.134 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008185/0.6692, allocations: 0.5184 MB / 1.135 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6692, allocations: 3.984 kB / 1.135 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.6693, allocations: 16 kB / 1.135 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.6693, allocations: 12 kB / 1.135 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.6701, allocations: 419.7 kB / 1.135 GB, free: 3.113 MB / 0.8887 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.003006/0.6731, allocations: 2.803 MB / 1.138 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.674, allocations: 455.4 kB / 1.138 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.6745, allocations: 287.3 kB / 1.139 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.6745, allocations: 4.656 kB / 1.139 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004945/0.675, allocations: 305.7 kB / 1.139 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 1.853e-06/0.6751, allocations: 0 / 1.139 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.002613/0.6777, allocations: 1.242 MB / 1.14 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.6777, allocations: 63.39 kB / 1.14 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.6792, allocations: 1.752 MB / 1.142 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.6793, allocations: 37.7 kB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.6796, allocations: 0.5178 MB / 1.143 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.6798, allocations: 150 kB / 1.143 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.6799, allocations: 102.2 kB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.68, allocations: 326.4 kB / 1.143 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.6805, allocations: 221 kB / 1.143 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.681, allocations: 324.9 kB / 1.144 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.6818, allocations: 0.513 MB / 1.144 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6818, allocations: 7.875 kB / 1.144 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001434/0.6832, allocations: 0.8465 MB / 1.145 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6833, allocations: 9.406 kB / 1.145 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6833, allocations: 0 / 1.145 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004698/0.6838, allocations: 192.8 kB / 1.145 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.6841, allocations: 99.88 kB / 1.145 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.6872, allocations: 2.99 MB / 1.148 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.6875, allocations: 71.55 kB / 1.148 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.6876, allocations: 24 kB / 1.148 GB, free: 5.238 MB / 0.9044 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.0003739/0.688, allocations: 395.2 kB / 1.149 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.6881, allocations: 114.5 kB / 1.149 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.6883, allocations: 139.7 kB / 1.149 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.6883, allocations: 7.984 kB / 1.149 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.6883, allocations: 4 kB / 1.149 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.6883, allocations: 0 / 1.149 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.6904, allocations: 1.562 MB / 1.15 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6905, allocations: 4 kB / 1.15 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.6907, allocations: 39.97 kB / 1.15 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/0.6911, allocations: 199.9 kB / 1.151 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.6911, allocations: 15.98 kB / 1.151 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003757/0.6949, allocations: 4.553 MB / 1.155 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6949, allocations: 0 / 1.155 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.6966, allocations: 1.061 MB / 1.156 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.6968, allocations: 211.6 kB / 1.156 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.6969, allocations: 12 kB / 1.156 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.6972, allocations: 31.97 kB / 1.156 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.6973, allocations: 47.92 kB / 1.156 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.6973, allocations: 19.98 kB / 1.156 GB, free: 12.46 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001135/0.6985, allocations: 1.281 MB / 1.158 GB, free: 11.17 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6985, allocations: 0 / 1.158 GB, free: 11.17 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006275/0.6991, allocations: 203.7 kB / 1.158 GB, free: 10.97 MB / 0.92 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.002758/0.7019, allocations: 1.987 MB / 1.16 GB, free: 9.145 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.7033, allocations: 0.7674 MB / 1.161 GB, free: 8.363 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7033, allocations: 0 / 1.161 GB, free: 8.363 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007887/0.7041, allocations: 0.5405 MB / 1.161 GB, free: 7.797 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/0.705, allocations: 207.7 kB / 1.161 GB, free: 7.598 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.7155, allocations: 9.143 MB / 1.17 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.7162, allocations: 1.149 MB / 1.171 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002638/0.7165, allocations: 92.72 kB / 1.171 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.7168, allocations: 411.3 kB / 1.172 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.7169, allocations: 0 / 1.172 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.867/1.584, allocations: 20.86 MB / 1.192 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.581/11.17, allocations: 13.67 kB / 1.192 GB, free: 7.789 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)