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.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 152 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.001283/0.001283, allocations: 193 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 285 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 178.6 MB / 0.5073 GB, free: 4.613 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 104.2 kB / 0.6065 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1452, allocations: 89.14 MB / 0.6936 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4074/0.5526, allocations: 156.7 MB / 0.8466 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.024/0.5766, allocations: 21.76 MB / 0.8679 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.5781, allocations: 51.03 kB / 0.8679 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.5796, allocations: 1.17 MB / 0.8691 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.5808, allocations: 0.8472 MB / 0.8699 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000961/0.5817, allocations: 444.2 kB / 0.8703 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.5828, allocations: 1.248 MB / 0.8716 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.5835, allocations: 0.6785 MB / 0.8722 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.5841, allocations: 0.5519 MB / 0.8728 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008864/0.585, allocations: 0.9213 MB / 0.8737 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.424e-05/0.5851, allocations: 64.81 kB / 0.8737 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.5853, allocations: 106.1 kB / 0.8738 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.5855, allocations: 322 kB / 0.8741 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.586, allocations: 495.8 kB / 0.8746 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.587, allocations: 1.175 MB / 0.8757 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.587, allocations: 0 / 0.8757 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.587, allocations: 0 / 0.8757 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.587, allocations: 7.188 kB / 0.8758 GB, free: 15.95 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.002112/0.5892, allocations: 1.482 MB / 0.8772 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.5892, allocations: 10.44 kB / 0.8772 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.5893, allocations: 85.83 kB / 0.8773 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.5895, allocations: 133.7 kB / 0.8774 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000797/0.5903, allocations: 0.6552 MB / 0.8781 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.5904, allocations: 77.94 kB / 0.8781 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.5905, allocations: 46.78 kB / 0.8782 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.5913, allocations: 0.5147 MB / 0.8787 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5914, allocations: 0 / 0.8787 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.5914, allocations: 16.31 kB / 0.8787 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.5914, allocations: 10.84 kB / 0.8787 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008233/0.5923, allocations: 421.3 kB / 0.8791 GB, free: 13.37 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.00355/0.5958, allocations: 2.735 MB / 0.8818 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/0.5968, allocations: 452.6 kB / 0.8822 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.5975, allocations: 306 kB / 0.8825 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.5975, allocations: 8.656 kB / 0.8825 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/0.5981, allocations: 279.1 kB / 0.8828 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 6.613e-06/0.5981, allocations: 3.984 kB / 0.8828 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.00268/0.6008, allocations: 1.148 MB / 0.8839 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.6008, allocations: 55.41 kB / 0.884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.6027, allocations: 1.764 MB / 0.8857 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.6028, allocations: 37.7 kB / 0.8857 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.6033, allocations: 0.5289 MB / 0.8862 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.6034, allocations: 138 kB / 0.8864 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.6036, allocations: 106.2 kB / 0.8865 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6037, allocations: 334 kB / 0.8868 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.6042, allocations: 205 kB / 0.887 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.6048, allocations: 343.1 kB / 0.8873 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.6058, allocations: 0.5188 MB / 0.8878 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.6058, allocations: 3.938 kB / 0.8878 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00157/0.6074, allocations: 0.8069 MB / 0.8886 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6074, allocations: 8.062 kB / 0.8886 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6074, allocations: 4 kB / 0.8886 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.6078, allocations: 136.7 kB / 0.8887 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.6082, allocations: 103.8 kB / 0.8888 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.6112, allocations: 2.605 MB / 0.8914 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.6116, allocations: 71.41 kB / 0.8915 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.6117, allocations: 20.06 kB / 0.8915 GB, free: 116 kB / 0.6075 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.0004924/0.6122, allocations: 392.6 kB / 0.8918 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.6123, allocations: 118.5 kB / 0.892 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.6125, allocations: 139.7 kB / 0.8921 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.6125, allocations: 4 kB / 0.8921 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6126, allocations: 4 kB / 0.8921 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6126, allocations: 3.984 kB / 0.8921 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.615, allocations: 1.497 MB / 0.8936 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.615, allocations: 0 / 0.8936 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.6152, allocations: 47.91 kB / 0.8936 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.6157, allocations: 163.9 kB / 0.8938 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.6157, allocations: 8 kB / 0.8938 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004059/0.6198, allocations: 4.029 MB / 0.8977 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6198, allocations: 0 / 0.8977 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.6216, allocations: 0.9945 MB / 0.8987 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.6219, allocations: 219.5 kB / 0.8989 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.622, allocations: 8 kB / 0.8989 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.6223, allocations: 27.97 kB / 0.8989 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.6225, allocations: 56.16 kB / 0.899 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.6225, allocations: 23.92 kB / 0.899 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001484/0.624, allocations: 1.285 MB / 0.9003 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.624, allocations: 0 / 0.9003 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007064/0.6247, allocations: 187.8 kB / 0.9004 GB, free: 6.535 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.003693/0.6284, allocations: 1.922 MB / 0.9023 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.6301, allocations: 0.7016 MB / 0.903 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6301, allocations: 0 / 0.903 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008788/0.631, allocations: 0.5167 MB / 0.9035 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.632, allocations: 204 kB / 0.9037 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.6449, allocations: 9.084 MB / 0.9126 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008323/0.6457, allocations: 1.146 MB / 0.9137 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.6461, allocations: 100.8 kB / 0.9138 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.6466, allocations: 407.3 kB / 0.9142 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of SimCode: time 7.62e-07/0.6466, allocations: 4 kB / 0.9142 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0558/0.7024, allocations: 20.49 MB / 0.9342 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.703/10.41, allocations: 3.375 kB / 0.9342 GB, free: 3.973 MB / 0.6544 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)