Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.996/2.996, allocations: 0.49 GB / 0.7923 GB, free: 1.523 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.91 kB / 1.15 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.2063/1.229, allocations: 161.5 MB / 1.479 GB, free: 2.555 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03187/1.261, allocations: 22.25 MB / 1.501 GB, free: 364 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/1.264, allocations: 85.88 kB / 1.501 GB, free: 320 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/1.266, allocations: 1.383 MB / 1.502 GB, free: 15.58 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/1.268, allocations: 1.092 MB / 1.503 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/1.27, allocations: 0.5464 MB / 1.504 GB, free: 14.44 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002421/1.272, allocations: 1.719 MB / 1.506 GB, free: 12.82 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/1.274, allocations: 0.8029 MB / 1.506 GB, free: 12 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/1.275, allocations: 0.7709 MB / 1.507 GB, free: 11.22 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/1.276, allocations: 1.311 MB / 1.508 GB, free: 9.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/1.277, allocations: 92 kB / 1.508 GB, free: 9.82 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/1.277, allocations: 140 kB / 1.509 GB, free: 9.684 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/1.277, allocations: 432 kB / 1.509 GB, free: 9.262 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006604/1.278, allocations: 0.6597 MB / 1.51 GB, free: 8.598 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/1.28, allocations: 1.625 MB / 1.511 GB, free: 6.965 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.28, allocations: 0 / 1.511 GB, free: 6.965 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.744e-06/1.28, allocations: 0 / 1.511 GB, free: 6.965 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.471e-05/1.28, allocations: 4 kB / 1.511 GB, free: 6.961 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003428/1.284, allocations: 1.996 MB / 1.513 GB, free: 4.906 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.284, allocations: 15.98 kB / 1.513 GB, free: 4.891 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.943e-05/1.284, allocations: 17.5 kB / 1.513 GB, free: 4.875 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/1.284, allocations: 110.7 kB / 1.513 GB, free: 4.758 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/1.284, allocations: 195.7 kB / 1.514 GB, free: 4.566 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.285, allocations: 0.9116 MB / 1.514 GB, free: 3.605 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.286, allocations: 91 kB / 1.515 GB, free: 3.512 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/1.286, allocations: 64 kB / 1.515 GB, free: 3.449 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/1.287, allocations: 0.7215 MB / 1.515 GB, free: 2.699 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.287, allocations: 0 / 1.515 GB, free: 2.699 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-05/1.287, allocations: 31.98 kB / 1.515 GB, free: 2.668 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/1.287, allocations: 12 kB / 1.515 GB, free: 2.656 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/1.289, allocations: 0.5476 MB / 1.516 GB, free: 2.109 MB / 1.186 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.005317/1.294, allocations: 3.614 MB / 1.519 GB, free: 14.21 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/1.295, allocations: 0.5768 MB / 1.52 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/1.296, allocations: 342.3 kB / 1.52 GB, free: 13.29 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/1.296, allocations: 12.5 kB / 1.52 GB, free: 13.28 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008172/1.297, allocations: 382.9 kB / 1.521 GB, free: 12.89 MB / 1.201 GB Notification: Performance of pre-optimization done (n=65): time 2.655e-06/1.297, allocations: 0 / 1.521 GB, free: 12.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=65): time 0.005531/1.303, allocations: 1.778 MB / 1.522 GB, free: 11.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/1.303, allocations: 67.89 kB / 1.522 GB, free: 10.99 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/1.306, allocations: 2.284 MB / 1.525 GB, free: 8.699 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/1.306, allocations: 41.7 kB / 1.525 GB, free: 8.652 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/1.307, allocations: 0.7272 MB / 1.525 GB, free: 7.922 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/1.307, allocations: 226.2 kB / 1.526 GB, free: 7.699 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/1.307, allocations: 130.7 kB / 1.526 GB, free: 7.566 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.307, allocations: 333.9 kB / 1.526 GB, free: 7.234 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007167/1.308, allocations: 277.8 kB / 1.526 GB, free: 6.961 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/1.309, allocations: 428.8 kB / 1.527 GB, free: 6.492 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/1.31, allocations: 0.6574 MB / 1.527 GB, free: 5.781 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/1.31, allocations: 0 / 1.527 GB, free: 5.781 MB / 1.201 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002783/1.313, allocations: 1.124 MB / 1.529 GB, free: 4.648 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.313, allocations: 8 kB / 1.529 GB, free: 4.641 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.313, allocations: 4 kB / 1.529 GB, free: 4.637 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000948/1.314, allocations: 269.8 kB / 1.529 GB, free: 4.371 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/1.315, allocations: 115.8 kB / 1.529 GB, free: 4.258 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/1.321, allocations: 3.712 MB / 1.533 GB, free: 428 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/1.322, allocations: 91.52 kB / 1.533 GB, free: 336 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/1.322, allocations: 28 kB / 1.533 GB, free: 308 kB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007456/1.322, allocations: 463.3 kB / 1.533 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/1.323, allocations: 170.8 kB / 1.533 GB, free: 15.67 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/1.323, allocations: 187.9 kB / 1.533 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.323, allocations: 15.88 kB / 1.533 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.323, allocations: 0 / 1.533 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.323, allocations: 7.984 kB / 1.533 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/1.327, allocations: 2.042 MB / 1.535 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.327, allocations: 0 / 1.535 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/1.327, allocations: 55.91 kB / 1.535 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/1.328, allocations: 275.8 kB / 1.536 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/1.328, allocations: 19.98 kB / 1.536 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00704/1.335, allocations: 5.239 MB / 1.541 GB, free: 7.492 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.335, allocations: 4.062 kB / 1.541 GB, free: 7.488 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/1.338, allocations: 1.395 MB / 1.542 GB, free: 6.066 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/1.339, allocations: 287.8 kB / 1.543 GB, free: 5.766 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/1.339, allocations: 12 kB / 1.543 GB, free: 5.754 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/1.34, allocations: 35.95 kB / 1.543 GB, free: 5.719 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.34, allocations: 68.47 kB / 1.543 GB, free: 5.652 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/1.34, allocations: 19.98 kB / 1.543 GB, free: 5.633 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002238/1.342, allocations: 1.656 MB / 1.544 GB, free: 3.984 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.81e-07/1.342, allocations: 7.938 kB / 1.544 GB, free: 3.977 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001223/1.343, allocations: 275.5 kB / 1.545 GB, free: 3.707 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005387/1.349, allocations: 2.33 MB / 1.547 GB, free: 1.535 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002275/1.351, allocations: 0.8679 MB / 1.548 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.351, allocations: 0 / 1.548 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/1.352, allocations: 0.6558 MB / 1.548 GB, free: 15.97 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.354, allocations: 287.5 kB / 1.549 GB, free: 15.7 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/1.373, allocations: 11.12 MB / 1.559 GB, free: 4.289 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.375, allocations: 1.318 MB / 1.561 GB, free: 2.941 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005158/1.375, allocations: 118.7 kB / 1.561 GB, free: 2.82 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007336/1.376, allocations: 0.5539 MB / 1.561 GB, free: 2.266 MB / 1.232 GB Notification: Performance of SimCode: time 1.353e-06/1.376, allocations: 0 / 1.561 GB, free: 2.266 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0705/1.446, allocations: 29.66 MB / 1.59 GB, free: 4.918 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/17.32, allocations: 10.41 kB / 1.59 GB, free: 4.91 MB / 1.264 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 24.094566798012238] Failed to read output from testmodel.py, exit status != 0: 17.54671506700106 17.570932352 16.286196445 Calling exit ...