Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase2,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_9_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.001135/0.001135, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001153/0.001153, allocations: 203.1 kB / 16.15 MB, free: 6.598 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5663, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1523/0.7187, allocations: 154.5 MB / 1.1 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02187/0.7406, allocations: 21.59 MB / 1.121 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.7425, allocations: 51.69 kB / 1.121 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.744, allocations: 1.126 MB / 1.122 GB, free: 212 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.7452, allocations: 0.8177 MB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.7462, allocations: 382.1 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.7473, allocations: 1.337 MB / 1.125 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.748, allocations: 0.622 MB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.7485, allocations: 0.4943 MB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.7494, allocations: 0.906 MB / 1.127 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.824e-05/0.7495, allocations: 39.94 kB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.7497, allocations: 79.98 kB / 1.127 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.75, allocations: 304.7 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.7503, allocations: 468.8 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008647/0.7512, allocations: 1.152 MB / 1.129 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7512, allocations: 3.938 kB / 1.129 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7512, allocations: 0 / 1.129 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.7512, allocations: 0 / 1.129 GB, free: 9.609 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.002071/0.7533, allocations: 1.479 MB / 1.13 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7534, allocations: 8.031 kB / 1.13 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.422e-05/0.7535, allocations: 86.7 kB / 1.13 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.7536, allocations: 139.2 kB / 1.13 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.7544, allocations: 0.651 MB / 1.131 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.7545, allocations: 82.62 kB / 1.131 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.7546, allocations: 43.91 kB / 1.131 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/0.7555, allocations: 0.5145 MB / 1.131 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.7555, allocations: 4 kB / 1.131 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.7556, allocations: 20 kB / 1.132 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.7556, allocations: 8 kB / 1.132 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.7565, allocations: 415.7 kB / 1.132 GB, free: 6.039 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.003559/0.76, allocations: 2.807 MB / 1.135 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.7611, allocations: 451.8 kB / 1.135 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.7616, allocations: 281.3 kB / 1.135 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.7617, allocations: 12.59 kB / 1.135 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005273/0.7622, allocations: 305.8 kB / 1.136 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 1.913e-06/0.7622, allocations: 4 kB / 1.136 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002929/0.7651, allocations: 1.242 MB / 1.137 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.7652, allocations: 55.41 kB / 1.137 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.7671, allocations: 1.752 MB / 1.139 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.7671, allocations: 37.7 kB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.7676, allocations: 0.5179 MB / 1.139 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.7677, allocations: 149.9 kB / 1.139 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.7678, allocations: 94.25 kB / 1.139 GB, free: 14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.768, allocations: 334 kB / 1.14 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.7684, allocations: 217 kB / 1.14 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.7689, allocations: 328.8 kB / 1.14 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.7698, allocations: 0.5138 MB / 1.141 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7698, allocations: 7.938 kB / 1.141 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00153/0.7713, allocations: 0.839 MB / 1.142 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.7714, allocations: 11.98 kB / 1.142 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7714, allocations: 4 kB / 1.142 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/0.7719, allocations: 186.7 kB / 1.142 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.7722, allocations: 95.81 kB / 1.142 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.7753, allocations: 2.735 MB / 1.145 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.7758, allocations: 83.39 kB / 1.145 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.7758, allocations: 19.94 kB / 1.145 GB, free: 8.426 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.0004169/0.7762, allocations: 393.3 kB / 1.145 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.7763, allocations: 114.5 kB / 1.145 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.7765, allocations: 139.7 kB / 1.145 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.7766, allocations: 4 kB / 1.145 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.7766, allocations: 4 kB / 1.145 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7766, allocations: 3.984 kB / 1.145 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.7789, allocations: 1.569 MB / 1.147 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7789, allocations: 0 / 1.147 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.7791, allocations: 43.91 kB / 1.147 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/0.7796, allocations: 186.6 kB / 1.147 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.7797, allocations: 19.98 kB / 1.147 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/0.7835, allocations: 4.128 MB / 1.151 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7835, allocations: 7.969 kB / 1.151 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.7852, allocations: 1.065 MB / 1.152 GB, free: 412 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.7854, allocations: 215.5 kB / 1.152 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.7855, allocations: 19.98 kB / 1.152 GB, free: 156 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.7859, allocations: 27.97 kB / 1.152 GB, free: 128 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.786, allocations: 55.86 kB / 1.152 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.786, allocations: 15.98 kB / 1.152 GB, free: 56 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001227/0.7873, allocations: 1.284 MB / 1.154 GB, free: 14.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7873, allocations: 0 / 1.154 GB, free: 14.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007116/0.788, allocations: 207.7 kB / 1.154 GB, free: 14.56 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.002965/0.791, allocations: 1.969 MB / 1.156 GB, free: 12.75 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.7923, allocations: 0.7339 MB / 1.157 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7924, allocations: 0.6875 kB / 1.157 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008504/0.7932, allocations: 0.5479 MB / 1.157 GB, free: 11.42 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/0.7942, allocations: 199.9 kB / 1.157 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.8062, allocations: 9.406 MB / 1.166 GB, free: 1.422 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/0.8069, allocations: 1.149 MB / 1.168 GB, free: 248 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002739/0.8072, allocations: 80.8 kB / 1.168 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.8076, allocations: 407.4 kB / 1.168 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.8076, allocations: 4 kB / 1.168 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.8426, allocations: 20.12 MB / 1.188 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.8428, allocations: 282.1 kB / 1.188 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/3.058, allocations: 4 kB / 1.188 GB, free: 11.56 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)