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.004846/0.004846, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001365/0.001366, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 285.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9853/0.9853, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 99.84 kB / 0.681 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3895, allocations: 86.98 MB / 0.7659 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1755/0.5651, allocations: 156.7 MB / 0.9189 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02758/0.5927, allocations: 21.76 MB / 0.9402 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.5945, allocations: 55.69 kB / 0.9402 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.5963, allocations: 1.161 MB / 0.9414 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.5981, allocations: 0.8523 MB / 0.9422 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.5994, allocations: 445.6 kB / 0.9426 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.6011, allocations: 1.255 MB / 0.9439 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.6021, allocations: 0.6792 MB / 0.9445 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008792/0.603, allocations: 0.5529 MB / 0.9451 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.6043, allocations: 0.9216 MB / 0.946 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.6045, allocations: 64 kB / 0.946 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.6048, allocations: 108 kB / 0.9461 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.6052, allocations: 316.7 kB / 0.9464 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005409/0.6057, allocations: 496.8 kB / 0.9469 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.6071, allocations: 1.199 MB / 0.9481 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6071, allocations: 0 / 0.9481 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6071, allocations: 4 kB / 0.9481 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.6071, allocations: 0 / 0.9481 GB, free: 8.641 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.002361/0.6095, allocations: 1.532 MB / 0.9496 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6095, allocations: 12.03 kB / 0.9496 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.6097, allocations: 86.7 kB / 0.9497 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.6098, allocations: 140 kB / 0.9498 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/0.6107, allocations: 0.6715 MB / 0.9505 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.6109, allocations: 66.69 kB / 0.9505 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.6109, allocations: 48 kB / 0.9506 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009791/0.6119, allocations: 0.5223 MB / 0.9511 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.612, allocations: 0 / 0.9511 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.612, allocations: 23.97 kB / 0.9511 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.612, allocations: 12 kB / 0.9511 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/0.6129, allocations: 415.7 kB / 0.9515 GB, free: 4.996 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.003669/0.6166, allocations: 2.72 MB / 0.9542 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.6176, allocations: 443.7 kB / 0.9546 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/0.6183, allocations: 311.6 kB / 0.9549 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.6183, allocations: 8.328 kB / 0.9549 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005695/0.6189, allocations: 280 kB / 0.9552 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.6189, allocations: 0 / 0.9552 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.2935/0.9124, allocations: 1.153 MB / 0.9563 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.9125, allocations: 58.58 kB / 0.9563 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.915, allocations: 1.766 MB / 0.9581 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.915, allocations: 38.52 kB / 0.9581 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.9154, allocations: 0.5278 MB / 0.9586 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.9155, allocations: 155.3 kB / 0.9588 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.9157, allocations: 101.3 kB / 0.9589 GB, free: 191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.9158, allocations: 329 kB / 0.9592 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.9162, allocations: 212.2 kB / 0.9594 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.9167, allocations: 336.9 kB / 0.9597 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.9176, allocations: 0.5126 MB / 0.9602 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9176, allocations: 1.031 kB / 0.9602 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001464/0.919, allocations: 0.8189 MB / 0.961 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.9191, allocations: 7.188 kB / 0.961 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9191, allocations: 3.562 kB / 0.961 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/0.9195, allocations: 135.6 kB / 0.9611 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.9199, allocations: 105 kB / 0.9612 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.9222, allocations: 2.601 MB / 0.9638 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.9226, allocations: 85.45 kB / 0.9639 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.9227, allocations: 21.48 kB / 0.9639 GB, free: 187.7 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.0004154/0.9231, allocations: 392.1 kB / 0.9643 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.9232, allocations: 128.4 kB / 0.9644 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.9234, allocations: 137.1 kB / 0.9645 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9234, allocations: 4.594 kB / 0.9645 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.9234, allocations: 4.125 kB / 0.9645 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.9234, allocations: 6.188 kB / 0.9645 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.9255, allocations: 1.481 MB / 0.966 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.9255, allocations: 2.688 kB / 0.966 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.9258, allocations: 45.95 kB / 0.966 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.9262, allocations: 160.5 kB / 0.9662 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.9262, allocations: 18.22 kB / 0.9662 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/0.9289, allocations: 4.034 MB / 0.9701 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9289, allocations: 0.6562 kB / 0.9701 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.9304, allocations: 0.9963 MB / 0.9711 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.9306, allocations: 217 kB / 0.9713 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.9307, allocations: 17.75 kB / 0.9713 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.931, allocations: 26.97 kB / 0.9713 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.9311, allocations: 53.47 kB / 0.9714 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.9312, allocations: 13.95 kB / 0.9714 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001119/0.9323, allocations: 1.289 MB / 0.9727 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9323, allocations: 0 / 0.9727 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006242/0.9329, allocations: 197.3 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.003055/0.936, allocations: 1.923 MB / 0.9747 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.9372, allocations: 0.661 MB / 0.9754 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9372, allocations: 0 / 0.9754 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006488/0.9378, allocations: 0.5292 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.0008841/0.9387, allocations: 208.3 kB / 0.9761 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008745/0.9475, allocations: 8.545 MB / 0.9844 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.948, allocations: 1.149 MB / 0.9856 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002627/0.9482, allocations: 99.39 kB / 0.9857 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.9486, allocations: 411.3 kB / 0.9861 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of SimCode: time 8.62e-07/0.9486, allocations: 3.938 kB / 0.9861 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07358/1.022, allocations: 20.87 MB / 1.006 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.68, allocations: 17.91 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)