Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001237/0.001237, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001164/0.001164, allocations: 196.2 kB / 16.25 MB, free: 6.633 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.59 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.099/2.099, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.88 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4831, allocations: 140.4 MB / 0.9492 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1382/0.6212, allocations: 154.6 MB / 1.1 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.642, allocations: 21.5 MB / 1.121 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.6433, allocations: 47.69 kB / 1.121 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.6448, allocations: 1.126 MB / 1.122 GB, free: 172 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.646, allocations: 0.8177 MB / 1.123 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.647, allocations: 389 kB / 1.124 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.6482, allocations: 1.251 MB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007592/0.649, allocations: 0.6969 MB / 1.125 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000634/0.6496, allocations: 0.553 MB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009242/0.6506, allocations: 0.9528 MB / 1.127 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.6507, allocations: 64 kB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.6509, allocations: 104 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.6512, allocations: 340.6 kB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.6515, allocations: 496.8 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.6525, allocations: 1.176 MB / 1.129 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6525, allocations: 0 / 1.129 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6525, allocations: 4 kB / 1.129 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.643e-05/0.6525, allocations: 4 kB / 1.129 GB, free: 9.328 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.002188/0.6547, allocations: 1.479 MB / 1.13 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6548, allocations: 8.031 kB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.6549, allocations: 82.7 kB / 1.131 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.655, allocations: 135.2 kB / 1.131 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/0.6558, allocations: 0.6587 MB / 1.131 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.6559, allocations: 74.69 kB / 1.131 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/0.656, allocations: 51.91 kB / 1.131 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.6569, allocations: 0.5184 MB / 1.132 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6569, allocations: 0 / 1.132 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.6569, allocations: 19.94 kB / 1.132 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.6569, allocations: 16 kB / 1.132 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.6577, allocations: 419.7 kB / 1.132 GB, free: 5.746 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.003046/0.6608, allocations: 2.724 MB / 1.135 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.6616, allocations: 447.9 kB / 1.135 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/0.6622, allocations: 305.3 kB / 1.136 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.6623, allocations: 8.656 kB / 1.136 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/0.6628, allocations: 279 kB / 1.136 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/0.6628, allocations: 0 / 1.136 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002378/0.6652, allocations: 1.148 MB / 1.137 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.6652, allocations: 55.41 kB / 1.137 GB, free: 496 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.6668, allocations: 1.764 MB / 1.139 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.6669, allocations: 37.7 kB / 1.139 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.6672, allocations: 0.5288 MB / 1.139 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.6674, allocations: 146 kB / 1.14 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.6675, allocations: 94.25 kB / 1.14 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.6676, allocations: 337.9 kB / 1.14 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.668, allocations: 209 kB / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.6685, allocations: 347.1 kB / 1.141 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.6694, allocations: 0.5233 MB / 1.141 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.6694, allocations: 4 kB / 1.141 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001393/0.6708, allocations: 0.7972 MB / 1.142 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6708, allocations: 8.219 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.6708, allocations: 8 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.6712, allocations: 136.7 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.6715, allocations: 103.9 kB / 1.142 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.674, allocations: 2.601 MB / 1.145 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.6744, allocations: 79.45 kB / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.6745, allocations: 31.98 kB / 1.145 GB, free: 8.484 MB / 0.9044 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.0003958/0.6749, allocations: 385.3 kB / 1.145 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.675, allocations: 122.4 kB / 1.145 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.6752, allocations: 143.7 kB / 1.145 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6752, allocations: 4 kB / 1.145 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6752, allocations: 0 / 1.145 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.6752, allocations: 7.984 kB / 1.145 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.6773, allocations: 1.486 MB / 1.147 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6773, allocations: 0 / 1.147 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.6775, allocations: 39.97 kB / 1.147 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/0.6779, allocations: 165.6 kB / 1.147 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.6779, allocations: 15.92 kB / 1.147 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.6811, allocations: 4.026 MB / 1.151 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6811, allocations: 4.094 kB / 1.151 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.6827, allocations: 0.9867 MB / 1.152 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.6829, allocations: 211.6 kB / 1.152 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.683, allocations: 12 kB / 1.152 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.6833, allocations: 51.86 kB / 1.152 GB, free: 468 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.6834, allocations: 51.86 kB / 1.152 GB, free: 416 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.6835, allocations: 12 kB / 1.152 GB, free: 404 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001177/0.6847, allocations: 1.293 MB / 1.154 GB, free: 15.1 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6847, allocations: 0 / 1.154 GB, free: 15.1 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006231/0.6853, allocations: 203.8 kB / 1.154 GB, free: 14.9 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,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.002664/0.688, allocations: 1.9 MB / 1.156 GB, free: 13.15 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.6893, allocations: 0.6996 MB / 1.156 GB, free: 12.44 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6893, allocations: 0 / 1.156 GB, free: 12.44 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000716/0.69, allocations: 0.5209 MB / 1.157 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.6909, allocations: 206 kB / 1.157 GB, free: 11.7 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.7021, allocations: 9.346 MB / 1.166 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.7028, allocations: 1.153 MB / 1.167 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002738/0.7031, allocations: 92.78 kB / 1.167 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.7035, allocations: 403.3 kB / 1.168 GB, free: 260 kB / 0.92 GB Notification: Performance of SimCode: time 3e-07/0.7035, allocations: 0 / 1.168 GB, free: 260 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.005/1.709, allocations: 20.15 MB / 1.187 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/1.709, allocations: 277.8 kB / 1.188 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.894, allocations: 3.516 kB / 1.188 GB, free: 12.03 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)