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.001319/0.001319, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 194 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 279 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 178.6 MB / 0.5073 GB, free: 4.535 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 95.84 kB / 0.6065 GB, free: 24.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1669, allocations: 89.15 MB / 0.6936 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4763/0.6433, allocations: 156.7 MB / 0.8467 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02686/0.6702, allocations: 21.75 MB / 0.8679 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.6728, allocations: 54.97 kB / 0.8679 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.6744, allocations: 1.167 MB / 0.8691 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.6761, allocations: 0.8538 MB / 0.8699 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.6774, allocations: 443.9 kB / 0.8703 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.6789, allocations: 1.245 MB / 0.8716 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.6797, allocations: 0.6821 MB / 0.8722 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.6804, allocations: 0.5512 MB / 0.8728 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009651/0.6814, allocations: 0.9165 MB / 0.8736 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.6815, allocations: 69.5 kB / 0.8737 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.6818, allocations: 110 kB / 0.8738 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.682, allocations: 315.7 kB / 0.8741 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.6825, allocations: 495.4 kB / 0.8746 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.6837, allocations: 1.179 MB / 0.8757 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6838, allocations: 0 / 0.8757 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6838, allocations: 0 / 0.8757 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.6838, allocations: 0 / 0.8757 GB, free: 15.86 MB / 0.6075 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.002545/0.6863, allocations: 1.487 MB / 0.8772 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.6864, allocations: 10 kB / 0.8772 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.6865, allocations: 85.52 kB / 0.8773 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.6867, allocations: 134.8 kB / 0.8774 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/0.6875, allocations: 0.6507 MB / 0.8781 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.6877, allocations: 70.22 kB / 0.8781 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.6878, allocations: 46.06 kB / 0.8782 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009209/0.6887, allocations: 0.5175 MB / 0.8787 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.6887, allocations: 2.719 kB / 0.8787 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.6888, allocations: 20.88 kB / 0.8787 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.6888, allocations: 9.844 kB / 0.8787 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/0.6896, allocations: 425.8 kB / 0.8791 GB, free: 13.25 MB / 0.6075 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.003663/0.6933, allocations: 2.739 MB / 0.8818 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.6943, allocations: 441.5 kB / 0.8822 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.695, allocations: 307.3 kB / 0.8825 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.695, allocations: 8.594 kB / 0.8825 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/0.6956, allocations: 287.1 kB / 0.8828 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 4.328e-06/0.6956, allocations: 3.984 kB / 0.8828 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002727/0.6984, allocations: 1.144 MB / 0.8839 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.6984, allocations: 67.41 kB / 0.884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.7005, allocations: 1.76 MB / 0.8857 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.7006, allocations: 37.7 kB / 0.8857 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.7011, allocations: 0.5211 MB / 0.8862 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.7012, allocations: 142 kB / 0.8864 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.7014, allocations: 102.2 kB / 0.8865 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7016, allocations: 326 kB / 0.8868 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.702, allocations: 217 kB / 0.887 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.7026, allocations: 335.1 kB / 0.8873 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009169/0.7035, allocations: 0.5191 MB / 0.8878 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.7036, allocations: 3.938 kB / 0.8878 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001685/0.7053, allocations: 0.8066 MB / 0.8886 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.7053, allocations: 8 kB / 0.8886 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.7053, allocations: 4 kB / 0.8886 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.7058, allocations: 141.6 kB / 0.8887 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.7062, allocations: 103.9 kB / 0.8888 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.7093, allocations: 2.601 MB / 0.8914 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.7099, allocations: 79.41 kB / 0.8915 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.71, allocations: 20.08 kB / 0.8915 GB, free: 15.99 MB / 0.6231 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.0006006/0.7106, allocations: 388.7 kB / 0.8918 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.7107, allocations: 122.5 kB / 0.892 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.711, allocations: 139.7 kB / 0.8921 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.711, allocations: 4 kB / 0.8921 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.711, allocations: 4 kB / 0.8921 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.711, allocations: 3.984 kB / 0.8921 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.7135, allocations: 1.489 MB / 0.8936 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7135, allocations: 8 kB / 0.8936 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.7137, allocations: 43.97 kB / 0.8936 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/0.7142, allocations: 167.9 kB / 0.8938 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.7142, allocations: 12 kB / 0.8938 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004017/0.7182, allocations: 4.028 MB / 0.8977 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7183, allocations: 3.938 kB / 0.8977 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.7202, allocations: 0.9907 MB / 0.8987 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.7205, allocations: 215.5 kB / 0.8989 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.7206, allocations: 12 kB / 0.8989 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.7209, allocations: 27.97 kB / 0.8989 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.7211, allocations: 56.09 kB / 0.899 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.7211, allocations: 19.92 kB / 0.899 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001609/0.7227, allocations: 1.293 MB / 0.9003 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7227, allocations: 0 / 0.9003 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007501/0.7235, allocations: 191.8 kB / 0.9004 GB, free: 6.406 MB / 0.6231 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.003704/0.7272, allocations: 1.914 MB / 0.9023 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.7289, allocations: 0.7018 MB / 0.903 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7289, allocations: 0 / 0.903 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.7297, allocations: 0.5167 MB / 0.9035 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.7308, allocations: 204.8 kB / 0.9037 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.7437, allocations: 9.079 MB / 0.9126 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008802/0.7446, allocations: 1.146 MB / 0.9137 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003733/0.745, allocations: 100.8 kB / 0.9138 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/0.7455, allocations: 411.3 kB / 0.9142 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of SimCode: time 9.21e-07/0.7455, allocations: 0 / 0.9142 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05551/0.801, allocations: 20.49 MB / 0.9342 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.579/10.38, allocations: 2.188 kB / 0.9342 GB, free: 3.848 MB / 0.6544 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)