Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.TestCase6,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.006737/0.006737, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001819/0.001819, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.573/2.573, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 71.83 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2622, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.6443/0.9064, allocations: 157.1 MB / 1.395 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.9302, allocations: 21.89 MB / 1.417 GB, free: 14.91 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.9318, allocations: 55.03 kB / 1.417 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.9334, allocations: 1.342 MB / 1.418 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.9347, allocations: 0.9736 MB / 1.419 GB, free: 13.61 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.9358, allocations: 0.5075 MB / 1.419 GB, free: 13.2 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.9371, allocations: 1.428 MB / 1.421 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007985/0.9379, allocations: 0.7808 MB / 1.422 GB, free: 11.92 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.9386, allocations: 0.641 MB / 1.422 GB, free: 11.58 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.9397, allocations: 1.106 MB / 1.423 GB, free: 11.09 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.9398, allocations: 72.5 kB / 1.423 GB, free: 11.09 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.94, allocations: 133.4 kB / 1.423 GB, free: 11.06 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.9403, allocations: 361.5 kB / 1.424 GB, free: 10.83 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004623/0.9408, allocations: 0.5601 MB / 1.424 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.9421, allocations: 1.373 MB / 1.426 GB, free: 9.465 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.9421, allocations: 0 / 1.426 GB, free: 9.465 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9421, allocations: 0 / 1.426 GB, free: 9.465 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.9421, allocations: 0 / 1.426 GB, free: 9.465 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002239/0.9444, allocations: 1.731 MB / 1.427 GB, free: 8.109 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.9444, allocations: 9.312 kB / 1.427 GB, free: 8.109 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.9445, allocations: 92.92 kB / 1.427 GB, free: 8.027 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.9447, allocations: 166.5 kB / 1.428 GB, free: 7.938 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.9456, allocations: 0.7647 MB / 1.428 GB, free: 7.305 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.9457, allocations: 83.03 kB / 1.428 GB, free: 7.246 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.9458, allocations: 55.33 kB / 1.429 GB, free: 7.227 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.9467, allocations: 0.5701 MB / 1.429 GB, free: 6.879 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.9467, allocations: 0 / 1.429 GB, free: 6.879 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.9468, allocations: 18.28 kB / 1.429 GB, free: 6.867 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.9468, allocations: 8.812 kB / 1.429 GB, free: 6.867 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008134/0.9476, allocations: 453 kB / 1.43 GB, free: 6.648 MB / 1.123 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.00353/0.9512, allocations: 3.005 MB / 1.432 GB, free: 3.59 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.9522, allocations: 0.4956 MB / 1.433 GB, free: 3.086 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.9528, allocations: 313.4 kB / 1.433 GB, free: 2.777 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.9529, allocations: 8.375 kB / 1.433 GB, free: 2.77 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.9534, allocations: 329.7 kB / 1.434 GB, free: 2.434 MB / 1.123 GB Notification: Performance of pre-optimization done (n=52): time 5.17e-06/0.9535, allocations: 4 kB / 1.434 GB, free: 2.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=52): time 0.002979/0.9564, allocations: 1.357 MB / 1.435 GB, free: 1.027 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.9565, allocations: 59.84 kB / 1.435 GB, free: 0.957 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.9586, allocations: 2.116 MB / 1.437 GB, free: 14.83 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.9587, allocations: 45.64 kB / 1.437 GB, free: 14.78 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/0.9592, allocations: 0.6288 MB / 1.438 GB, free: 14.14 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.9593, allocations: 174.6 kB / 1.438 GB, free: 13.97 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.9595, allocations: 110.3 kB / 1.438 GB, free: 13.86 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9596, allocations: 330 kB / 1.438 GB, free: 13.53 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.9601, allocations: 229.2 kB / 1.439 GB, free: 13.31 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.9607, allocations: 349.9 kB / 1.439 GB, free: 12.93 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/0.9617, allocations: 0.5417 MB / 1.439 GB, free: 12.35 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.9617, allocations: 4 kB / 1.439 GB, free: 12.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001629/0.9633, allocations: 0.924 MB / 1.44 GB, free: 11.41 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.9633, allocations: 4 kB / 1.44 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.9634, allocations: 7.984 kB / 1.44 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004815/0.9638, allocations: 191.2 kB / 1.44 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.9642, allocations: 111.7 kB / 1.441 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.9677, allocations: 3.049 MB / 1.444 GB, free: 7.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.968, allocations: 75.69 kB / 1.444 GB, free: 7.836 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.9681, allocations: 20 kB / 1.444 GB, free: 7.816 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004798/0.9686, allocations: 449.1 kB / 1.444 GB, free: 7.371 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.9687, allocations: 143 kB / 1.444 GB, free: 7.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.969, allocations: 166 kB / 1.444 GB, free: 7.062 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.969, allocations: 7.938 kB / 1.444 GB, free: 7.055 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.969, allocations: 8 kB / 1.444 GB, free: 7.047 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.969, allocations: 3.984 kB / 1.444 GB, free: 7.043 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.9715, allocations: 1.739 MB / 1.446 GB, free: 5.234 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.9715, allocations: 0 / 1.446 GB, free: 5.234 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.9718, allocations: 51.89 kB / 1.446 GB, free: 5.184 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/0.9722, allocations: 193.6 kB / 1.446 GB, free: 4.988 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.9723, allocations: 15.98 kB / 1.446 GB, free: 4.973 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.9766, allocations: 4.613 MB / 1.451 GB, free: 88 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9766, allocations: 4 kB / 1.451 GB, free: 84 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.9785, allocations: 1.164 MB / 1.452 GB, free: 14.89 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.9788, allocations: 248 kB / 1.452 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.9789, allocations: 15.98 kB / 1.452 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.9792, allocations: 39.84 kB / 1.452 GB, free: 14.58 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.9793, allocations: 64.3 kB / 1.452 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.9794, allocations: 19.98 kB / 1.452 GB, free: 14.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00155/0.9809, allocations: 1.541 MB / 1.454 GB, free: 12.96 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.981, allocations: 0 / 1.454 GB, free: 12.96 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006564/0.9816, allocations: 227.7 kB / 1.454 GB, free: 12.73 MB / 1.154 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: 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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.003651/0.9853, allocations: 2.1 MB / 1.456 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.9867, allocations: 0.7648 MB / 1.457 GB, free: 10.02 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9867, allocations: 0 / 1.457 GB, free: 10.02 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008825/0.9876, allocations: 0.5858 MB / 1.457 GB, free: 9.406 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009772/0.9886, allocations: 233.8 kB / 1.458 GB, free: 9.191 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.001, allocations: 9.834 MB / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/1.002, allocations: 1.25 MB / 1.468 GB, free: 13.87 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002548/1.002, allocations: 109.1 kB / 1.469 GB, free: 13.76 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/1.003, allocations: 471.3 kB / 1.469 GB, free: 13.3 MB / 1.17 GB Notification: Performance of SimCode: time 3.61e-07/1.003, allocations: 0 / 1.469 GB, free: 13.3 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7579/1.761, allocations: 24.14 MB / 1.493 GB, free: 5.496 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.69, allocations: 4.062 kB / 1.493 GB, free: 5.492 MB / 1.186 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)