Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.008311/0.008311, allocations: 103 kB / 15.74 MB, free: 6.059 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.002365/0.002365, allocations: 189.2 kB / 16.67 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 292.5 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 1.208/1.208, allocations: 178.6 MB / 0.5074 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 103.8 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3995, allocations: 89.13 MB / 0.7813 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1779/0.5774, allocations: 156.7 MB / 0.9344 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02744/0.6049, allocations: 21.75 MB / 0.9556 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.6066, allocations: 55.69 kB / 0.9557 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.6085, allocations: 1.165 MB / 0.9568 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.6102, allocations: 0.8446 MB / 0.9576 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.6116, allocations: 452.6 kB / 0.9581 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.6133, allocations: 1.259 MB / 0.9593 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.6145, allocations: 0.6714 MB / 0.96 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009836/0.6154, allocations: 0.5529 MB / 0.9605 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.6168, allocations: 0.9177 MB / 0.9614 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.617, allocations: 64 kB / 0.9614 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.6174, allocations: 112 kB / 0.9616 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.6177, allocations: 316.7 kB / 0.9619 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005306/0.6183, allocations: 0.489 MB / 0.9623 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.6197, allocations: 1.204 MB / 0.9635 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6197, allocations: 0 / 0.9635 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6197, allocations: 0 / 0.9635 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.911e-05/0.6198, allocations: 0 / 0.9635 GB, free: 13.5 MB / 0.7325 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.002531/0.6223, allocations: 1.532 MB / 0.965 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6224, allocations: 8.031 kB / 0.965 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.6225, allocations: 82.72 kB / 0.9651 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.6227, allocations: 144 kB / 0.9652 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009058/0.6236, allocations: 0.6715 MB / 0.9659 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.6237, allocations: 74.69 kB / 0.966 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.6238, allocations: 47.98 kB / 0.966 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.6248, allocations: 0.5223 MB / 0.9665 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.6249, allocations: 4 kB / 0.9665 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.6249, allocations: 16 kB / 0.9665 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.6249, allocations: 11.98 kB / 0.9665 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.6259, allocations: 419.7 kB / 0.9669 GB, free: 9.848 MB / 0.7325 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.003911/0.6298, allocations: 2.796 MB / 0.9697 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.6309, allocations: 459.8 kB / 0.9701 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.6316, allocations: 281.3 kB / 0.9704 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.6316, allocations: 4.328 kB / 0.9704 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/0.6322, allocations: 314.4 kB / 0.9707 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.414e-06/0.6322, allocations: 0 / 0.9707 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.003236/0.6355, allocations: 1.25 MB / 0.9719 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.6356, allocations: 55.41 kB / 0.972 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.6376, allocations: 1.748 MB / 0.9737 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.6377, allocations: 41.7 kB / 0.9737 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005137/0.6382, allocations: 0.526 MB / 0.9742 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.6384, allocations: 150.8 kB / 0.9744 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.6386, allocations: 98.23 kB / 0.9745 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6387, allocations: 325.9 kB / 0.9748 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.6393, allocations: 217 kB / 0.975 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.6399, allocations: 324.9 kB / 0.9753 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.641, allocations: 0.5219 MB / 0.9758 GB, free: 356 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.641, allocations: 3.938 kB / 0.9758 GB, free: 352 kB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001833/0.6428, allocations: 0.8496 MB / 0.9766 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6428, allocations: 4 kB / 0.9766 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6429, allocations: 4 kB / 0.9766 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.6434, allocations: 183.7 kB / 0.9768 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.6438, allocations: 95.86 kB / 0.9769 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003916/0.6477, allocations: 2.999 MB / 0.9798 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.6482, allocations: 75.69 kB / 0.9799 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.6483, allocations: 20 kB / 0.9799 GB, free: 11.96 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000544/0.6488, allocations: 387.2 kB / 0.9803 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.649, allocations: 123.2 kB / 0.9804 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.6493, allocations: 139.7 kB / 0.9805 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6493, allocations: 8 kB / 0.9805 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.6493, allocations: 8 kB / 0.9806 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.6493, allocations: 4 kB / 0.9806 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.652, allocations: 1.566 MB / 0.9821 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6521, allocations: 0 / 0.9821 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.6523, allocations: 43.97 kB / 0.9821 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/0.6528, allocations: 197.5 kB / 0.9823 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.6529, allocations: 12 kB / 0.9823 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.6579, allocations: 4.549 MB / 0.9868 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6579, allocations: 0 / 0.9868 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.66, allocations: 1.067 MB / 0.9878 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.6603, allocations: 224.2 kB / 0.988 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6605, allocations: 15.98 kB / 0.988 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.6608, allocations: 35.97 kB / 0.9881 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.6609, allocations: 47.94 kB / 0.9881 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.661, allocations: 19.98 kB / 0.9881 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001526/0.6625, allocations: 1.281 MB / 0.9894 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6625, allocations: 0 / 0.9894 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007782/0.6633, allocations: 195.8 kB / 0.9896 GB, free: 1.68 MB / 0.7481 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,13,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.299/0.9624, allocations: 1.985 MB / 0.9915 GB, free: 202.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.9642, allocations: 0.7221 MB / 0.9922 GB, free: 202.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.9642, allocations: 0 / 0.9922 GB, free: 202.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008547/0.965, allocations: 0.5503 MB / 0.9928 GB, free: 202.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.9661, allocations: 207.9 kB / 0.993 GB, free: 202.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.9787, allocations: 8.616 MB / 1.001 GB, free: 199 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/0.9796, allocations: 1.154 MB / 1.003 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003424/0.9799, allocations: 96.31 kB / 1.003 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.9803, allocations: 406.8 kB / 1.003 GB, free: 197.8 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/0.9803, allocations: 0 / 1.003 GB, free: 197.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05148/1.032, allocations: 21.25 MB / 1.024 GB, free: 186.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.67, allocations: 10.81 kB / 1.024 GB, free: 186.5 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_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_TestCase4.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)