Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_10_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.001307/0.001307, allocations: 108 kB / 15.6 MB, free: 132 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.00131/0.00131, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.249/1.249, 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 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6074, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1622/0.7697, allocations: 156.7 MB / 1.17 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02696/0.7967, allocations: 21.74 MB / 1.192 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.7992, allocations: 51.75 kB / 1.192 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.8013, allocations: 1.169 MB / 1.193 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.8034, allocations: 0.8523 MB / 1.194 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.8051, allocations: 446.6 kB / 1.194 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.8072, allocations: 1.243 MB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.8085, allocations: 0.6813 MB / 1.196 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.8096, allocations: 0.5452 MB / 1.197 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.811, allocations: 0.9177 MB / 1.197 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.8113, allocations: 64 kB / 1.198 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004123/0.8117, allocations: 111.9 kB / 1.198 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.812, allocations: 324.7 kB / 1.198 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006003/0.8126, allocations: 492.8 kB / 1.198 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.8139, allocations: 1.176 MB / 1.2 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.814, allocations: 0 / 1.2 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.653e-06/0.814, allocations: 4 kB / 1.2 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.702e-05/0.814, allocations: 0 / 1.2 GB, free: 7.223 MB / 0.9512 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.002805/0.8168, allocations: 1.478 MB / 1.201 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.8169, allocations: 12.03 kB / 1.201 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.817, allocations: 86.69 kB / 1.201 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.8173, allocations: 131.3 kB / 1.201 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.8183, allocations: 0.6703 MB / 1.202 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.8184, allocations: 70.69 kB / 1.202 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.8185, allocations: 48 kB / 1.202 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.8196, allocations: 0.5145 MB / 1.203 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.8196, allocations: 0 / 1.203 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.8197, allocations: 27.94 kB / 1.203 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.8197, allocations: 15.98 kB / 1.203 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.8205, allocations: 403.7 kB / 1.203 GB, free: 3.648 MB / 0.9512 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.00379/0.8243, allocations: 2.803 MB / 1.206 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009692/0.8253, allocations: 461.1 kB / 1.206 GB, free: 140 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.8259, allocations: 286.9 kB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.8259, allocations: 4.656 kB / 1.206 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005605/0.8265, allocations: 309.7 kB / 1.207 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.8265, allocations: 7.875 kB / 1.207 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002928/0.8294, allocations: 1.237 MB / 1.208 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.8295, allocations: 63.41 kB / 1.208 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.8314, allocations: 1.748 MB / 1.21 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.8315, allocations: 37.7 kB / 1.21 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.8319, allocations: 0.5218 MB / 1.21 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.8321, allocations: 149.9 kB / 1.21 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.8322, allocations: 94.25 kB / 1.21 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8324, allocations: 329.9 kB / 1.211 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.8329, allocations: 213 kB / 1.211 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.8334, allocations: 328.9 kB / 1.211 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.8343, allocations: 0.5099 MB / 1.212 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.8344, allocations: 7.938 kB / 1.212 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001726/0.8361, allocations: 0.8388 MB / 1.213 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.8361, allocations: 5.719 kB / 1.213 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.8362, allocations: 4 kB / 1.213 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/0.8367, allocations: 192.7 kB / 1.213 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.8371, allocations: 95.88 kB / 1.213 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.8408, allocations: 3.002 MB / 1.216 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.8413, allocations: 75.55 kB / 1.216 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.8414, allocations: 20 kB / 1.216 GB, free: 5.773 MB / 0.9669 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.0005253/0.8419, allocations: 383.3 kB / 1.216 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.8421, allocations: 114.5 kB / 1.216 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.8423, allocations: 143.7 kB / 1.217 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8424, allocations: 4 kB / 1.217 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.8424, allocations: 4 kB / 1.217 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.8424, allocations: 7.984 kB / 1.217 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.8449, allocations: 1.563 MB / 1.218 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.845, allocations: 4 kB / 1.218 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.8452, allocations: 47.89 kB / 1.218 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.8457, allocations: 193.6 kB / 1.218 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.8457, allocations: 15.98 kB / 1.218 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004443/0.8502, allocations: 4.559 MB / 1.223 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8502, allocations: 0 / 1.223 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.8521, allocations: 1.057 MB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.8525, allocations: 215.6 kB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.8527, allocations: 16 kB / 1.224 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.853, allocations: 23.97 kB / 1.224 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.8532, allocations: 59.86 kB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.8532, allocations: 15.98 kB / 1.224 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00152/0.8547, allocations: 1.277 MB / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8547, allocations: 3.938 kB / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00088/0.8556, allocations: 207.7 kB / 1.226 GB, free: 11.49 MB / 0.9825 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.003271/0.8589, allocations: 1.986 MB / 1.228 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.8606, allocations: 0.759 MB / 1.228 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8606, allocations: 7.875 kB / 1.228 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.8615, allocations: 0.5521 MB / 1.229 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.8626, allocations: 195 kB / 1.229 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.8768, allocations: 9.15 MB / 1.238 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008671/0.8777, allocations: 1.153 MB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.878, allocations: 84.8 kB / 1.239 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.8785, allocations: 403.3 kB / 1.24 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.8785, allocations: 0 / 1.24 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5341/1.413, allocations: 20.85 MB / 1.26 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.384/10.8, allocations: 4.062 kB / 1.26 GB, free: 230.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)