Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_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.006557/0.006557, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001606/0.001606, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 288.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 95.84 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3834, allocations: 86.97 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1497/0.5331, allocations: 156.7 MB / 0.9189 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02324/0.5564, allocations: 21.76 MB / 0.9402 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.5583, allocations: 55.69 kB / 0.9402 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.5598, allocations: 1.165 MB / 0.9414 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.5612, allocations: 0.864 MB / 0.9422 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.5623, allocations: 437.8 kB / 0.9426 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.5635, allocations: 1.259 MB / 0.9439 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007447/0.5643, allocations: 0.687 MB / 0.9445 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.5649, allocations: 0.5607 MB / 0.9451 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009112/0.5658, allocations: 0.9138 MB / 0.946 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.465e-05/0.5659, allocations: 67.98 kB / 0.946 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.5661, allocations: 108 kB / 0.9461 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.5664, allocations: 316.7 kB / 0.9464 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.5668, allocations: 488.8 kB / 0.9469 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.5679, allocations: 1.211 MB / 0.9481 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5679, allocations: 0 / 0.9481 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5679, allocations: 0 / 0.9481 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.5679, allocations: 0 / 0.9481 GB, free: 8.602 MB / 0.7169 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.00216/0.5701, allocations: 1.532 MB / 0.9496 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5701, allocations: 8.031 kB / 0.9496 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.645e-05/0.5703, allocations: 86.7 kB / 0.9497 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.5704, allocations: 140 kB / 0.9498 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.5713, allocations: 0.6716 MB / 0.9505 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.5714, allocations: 70.69 kB / 0.9505 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.5715, allocations: 44 kB / 0.9506 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.5724, allocations: 0.5184 MB / 0.9511 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5724, allocations: 7.984 kB / 0.9511 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.5725, allocations: 24 kB / 0.9511 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.5725, allocations: 8 kB / 0.9511 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.5733, allocations: 407.7 kB / 0.9515 GB, free: 4.969 MB / 0.7169 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.003343/0.5767, allocations: 2.736 MB / 0.9542 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.5777, allocations: 440.5 kB / 0.9546 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.5783, allocations: 314 kB / 0.9549 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.5784, allocations: 4.328 kB / 0.9549 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000542/0.5789, allocations: 288 kB / 0.9552 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.5789, allocations: 3.938 kB / 0.9552 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.3101/0.8891, allocations: 1.156 MB / 0.9563 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.8891, allocations: 57.73 kB / 0.9564 GB, free: 192 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.8917, allocations: 1.766 MB / 0.9581 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.8917, allocations: 37.81 kB / 0.9581 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.8922, allocations: 0.5281 MB / 0.9586 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.8923, allocations: 157 kB / 0.9588 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.8925, allocations: 97.06 kB / 0.9589 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.8925, allocations: 331.5 kB / 0.9592 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.893, allocations: 208 kB / 0.9594 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.8936, allocations: 343.2 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.8944, allocations: 0.5075 MB / 0.9602 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.8944, allocations: 1.938 kB / 0.9602 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001546/0.896, allocations: 0.8172 MB / 0.961 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.896, allocations: 8.094 kB / 0.961 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.896, allocations: 6.5 kB / 0.961 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/0.8964, allocations: 134.4 kB / 0.9612 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.8968, allocations: 104.3 kB / 0.9613 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.8992, allocations: 2.592 MB / 0.9638 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.8997, allocations: 82.95 kB / 0.9639 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.8997, allocations: 21.22 kB / 0.9639 GB, free: 187.8 MB / 0.7169 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.0004143/0.9001, allocations: 391.7 kB / 0.9643 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.9003, allocations: 121.9 kB / 0.9644 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.9005, allocations: 137 kB / 0.9645 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.9005, allocations: 5.031 kB / 0.9645 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.9005, allocations: 2.938 kB / 0.9645 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.9005, allocations: 6.938 kB / 0.9645 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.9027, allocations: 1.493 MB / 0.966 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.9027, allocations: 0.5156 kB / 0.966 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.9029, allocations: 42.3 kB / 0.966 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.9033, allocations: 160.2 kB / 0.9662 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.9034, allocations: 19.64 kB / 0.9662 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/0.9061, allocations: 4.032 MB / 0.9701 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9061, allocations: 4.734 kB / 0.9701 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.9076, allocations: 0.9974 MB / 0.9711 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.9079, allocations: 216.4 kB / 0.9713 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.908, allocations: 16.03 kB / 0.9713 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.9083, allocations: 28.97 kB / 0.9714 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9084, allocations: 49.02 kB / 0.9714 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.9085, allocations: 22.89 kB / 0.9714 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001112/0.9096, allocations: 1.288 MB / 0.9727 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9096, allocations: 0 / 0.9727 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006559/0.9102, allocations: 197.6 kB / 0.9729 GB, free: 181.4 MB / 0.7169 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.002487/0.9127, allocations: 1.916 MB / 0.9748 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.9139, allocations: 0.6553 MB / 0.9754 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.9139, allocations: 4.062 kB / 0.9754 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.9146, allocations: 0.5322 MB / 0.9759 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.9156, allocations: 197.8 kB / 0.9761 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/0.9246, allocations: 8.549 MB / 0.9845 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.925, allocations: 1.153 MB / 0.9856 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002639/0.9253, allocations: 96.77 kB / 0.9857 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.9257, allocations: 411.2 kB / 0.9861 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/0.9257, allocations: 0 / 0.9861 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.9647, allocations: 20.87 MB / 1.006 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.91, allocations: 14.59 kB / 1.006 GB, free: 147.7 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)