Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.004767/0.004767, allocations: 97.3 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.001128/0.001128, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002267/0.002267, allocations: 271.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 91.86 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4435/0.5857, allocations: 156.7 MB / 0.9189 GB, free: 6.453 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.6084, allocations: 21.76 MB / 0.9402 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.61, allocations: 55.69 kB / 0.9402 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.6115, allocations: 1.165 MB / 0.9414 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.613, allocations: 0.8602 MB / 0.9422 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.6141, allocations: 452.8 kB / 0.9426 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.6154, allocations: 1.254 MB / 0.9439 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008404/0.6163, allocations: 0.6844 MB / 0.9445 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/0.617, allocations: 0.5569 MB / 0.9451 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.6181, allocations: 0.9138 MB / 0.946 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.6182, allocations: 64 kB / 0.946 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.6184, allocations: 108 kB / 0.9461 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.6187, allocations: 324.7 kB / 0.9464 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.6191, allocations: 0.489 MB / 0.9469 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.6203, allocations: 1.195 MB / 0.9481 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6203, allocations: 0 / 0.9481 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6203, allocations: 0 / 0.9481 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.6203, allocations: 0 / 0.9481 GB, free: 8.523 MB / 0.7012 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.002271/0.6226, allocations: 1.535 MB / 0.9496 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.6227, allocations: 8.031 kB / 0.9496 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.75e-05/0.6228, allocations: 86.7 kB / 0.9497 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.6229, allocations: 140 kB / 0.9498 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.6238, allocations: 0.6717 MB / 0.9505 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.6239, allocations: 74.69 kB / 0.9505 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.624, allocations: 44 kB / 0.9506 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.625, allocations: 0.5184 MB / 0.9511 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.625, allocations: 8 kB / 0.9511 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.6251, allocations: 19.98 kB / 0.9511 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.6251, allocations: 11.94 kB / 0.9511 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000851/0.6259, allocations: 411.7 kB / 0.9515 GB, free: 4.879 MB / 0.7012 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.003352/0.6293, allocations: 2.736 MB / 0.9542 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/0.6302, allocations: 448.2 kB / 0.9546 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.6309, allocations: 308.4 kB / 0.9549 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.631, allocations: 4.328 kB / 0.9549 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005294/0.6315, allocations: 276.1 kB / 0.9552 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.6315, allocations: 4 kB / 0.9552 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.002618/0.6341, allocations: 1.152 MB / 0.9563 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.6342, allocations: 59.41 kB / 0.9564 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.6359, allocations: 1.76 MB / 0.9581 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.636, allocations: 41.69 kB / 0.9581 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.6364, allocations: 0.5253 MB / 0.9586 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6365, allocations: 158.7 kB / 0.9588 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.6367, allocations: 102.2 kB / 0.9589 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.6368, allocations: 330 kB / 0.9592 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.6372, allocations: 209 kB / 0.9594 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.6378, allocations: 331.2 kB / 0.9597 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008842/0.6387, allocations: 0.514 MB / 0.9602 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.6387, allocations: 7.938 kB / 0.9602 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00153/0.6402, allocations: 0.8195 MB / 0.961 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6403, allocations: 8 kB / 0.961 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6403, allocations: 4 kB / 0.961 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.6407, allocations: 133.7 kB / 0.9612 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.6411, allocations: 107.8 kB / 0.9613 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.6438, allocations: 2.596 MB / 0.9638 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.6443, allocations: 83.58 kB / 0.9639 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.6443, allocations: 27.94 kB / 0.9639 GB, free: 7.602 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.0004487/0.6448, allocations: 389.7 kB / 0.9643 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6449, allocations: 127.1 kB / 0.9644 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.6452, allocations: 139.7 kB / 0.9645 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6452, allocations: 12 kB / 0.9645 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.6452, allocations: 0 / 0.9645 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6452, allocations: 3.984 kB / 0.9645 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.6475, allocations: 1.487 MB / 0.966 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6475, allocations: 3.938 kB / 0.966 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.6477, allocations: 47.91 kB / 0.9661 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003853/0.6481, allocations: 161.6 kB / 0.9662 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.6482, allocations: 11.98 kB / 0.9662 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003424/0.6516, allocations: 4.035 MB / 0.9702 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6516, allocations: 0 / 0.9702 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.6533, allocations: 0.9975 MB / 0.9711 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.6536, allocations: 216.3 kB / 0.9713 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6537, allocations: 19.92 kB / 0.9714 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.6541, allocations: 27.97 kB / 0.9714 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6542, allocations: 55.92 kB / 0.9714 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.6542, allocations: 19.94 kB / 0.9715 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001286/0.6555, allocations: 1.285 MB / 0.9727 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/0.6555, allocations: 0 / 0.9727 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006773/0.6562, allocations: 203.7 kB / 0.9729 GB, free: 14 MB / 0.7325 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.002904/0.6591, allocations: 1.903 MB / 0.9748 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.6604, allocations: 0.6664 MB / 0.9754 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6605, allocations: 0 / 0.9754 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.6613, allocations: 0.5171 MB / 0.9759 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009796/0.6622, allocations: 211.9 kB / 0.9761 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.6735, allocations: 8.541 MB / 0.9845 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.6742, allocations: 1.149 MB / 0.9856 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002849/0.6745, allocations: 100.8 kB / 0.9857 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.6749, allocations: 407.3 kB / 0.9861 GB, free: 384 kB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.6749, allocations: 0 / 0.9861 GB, free: 384 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/0.7198, allocations: 20.87 MB / 1.006 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.51, allocations: 14.69 kB / 1.006 GB, free: 11.84 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_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_TestCase1.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)