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.001518/0.001518, 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.001571/0.001571, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 283 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 95.97 kB / 0.6065 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1766, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.46/0.6366, allocations: 156.7 MB / 0.8466 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02785/0.6645, allocations: 21.75 MB / 0.8679 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.6666, allocations: 58.94 kB / 0.8679 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.6681, allocations: 1.159 MB / 0.8691 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.6695, allocations: 0.8595 MB / 0.8699 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.6707, allocations: 433.7 kB / 0.8703 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.6719, allocations: 1.251 MB / 0.8716 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007576/0.6727, allocations: 0.6801 MB / 0.8722 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006277/0.6733, allocations: 0.5525 MB / 0.8728 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/0.6743, allocations: 0.9184 MB / 0.8737 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.6744, allocations: 65.66 kB / 0.8737 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.6746, allocations: 108.8 kB / 0.8738 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.6749, allocations: 315.6 kB / 0.8741 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.6753, allocations: 495.7 kB / 0.8746 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.6765, allocations: 1.182 MB / 0.8757 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6765, allocations: 0 / 0.8757 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6765, allocations: 0 / 0.8757 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.6765, allocations: 0 / 0.8757 GB, free: 15.92 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.002264/0.6788, allocations: 1.48 MB / 0.8772 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6788, allocations: 7.781 kB / 0.8772 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.679, allocations: 85.17 kB / 0.8773 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.6791, allocations: 138.5 kB / 0.8774 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008056/0.6799, allocations: 0.6571 MB / 0.8781 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.6801, allocations: 76.06 kB / 0.8781 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.6802, allocations: 44.62 kB / 0.8782 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6812, allocations: 0.5185 MB / 0.8787 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6812, allocations: 4 kB / 0.8787 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.6813, allocations: 21.16 kB / 0.8787 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.6813, allocations: 10.19 kB / 0.8787 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009524/0.6823, allocations: 418.6 kB / 0.8791 GB, free: 13.3 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.003865/0.6861, allocations: 2.815 MB / 0.8819 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.6872, allocations: 451.3 kB / 0.8823 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.6878, allocations: 283.3 kB / 0.8826 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.6878, allocations: 8.641 kB / 0.8826 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000593/0.6884, allocations: 305.8 kB / 0.8829 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.345e-06/0.6885, allocations: 3.938 kB / 0.8829 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003057/0.6915, allocations: 1.246 MB / 0.8841 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.6916, allocations: 55.41 kB / 0.8841 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.6936, allocations: 1.752 MB / 0.8858 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.6937, allocations: 45.69 kB / 0.8859 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.6941, allocations: 0.5102 MB / 0.8864 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.6943, allocations: 153.9 kB / 0.8865 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.6944, allocations: 94.25 kB / 0.8866 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6946, allocations: 330 kB / 0.8869 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.6951, allocations: 217 kB / 0.8871 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.6958, allocations: 324.9 kB / 0.8875 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/0.6967, allocations: 0.5144 MB / 0.888 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6967, allocations: 0 / 0.888 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001698/0.6984, allocations: 0.8449 MB / 0.8888 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6985, allocations: 8 kB / 0.8888 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6985, allocations: 4.125 kB / 0.8888 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.699, allocations: 188.7 kB / 0.889 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.6994, allocations: 92.31 kB / 0.8891 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/0.7032, allocations: 2.988 MB / 0.892 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.7038, allocations: 79.55 kB / 0.8921 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.7039, allocations: 16 kB / 0.8921 GB, free: 15.44 MB / 0.6231 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.000669/0.7045, allocations: 391.2 kB / 0.8924 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.7047, allocations: 118.4 kB / 0.8926 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.705, allocations: 139.7 kB / 0.8927 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.705, allocations: 8 kB / 0.8927 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.7051, allocations: 4 kB / 0.8927 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.7051, allocations: 3.984 kB / 0.8927 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.7079, allocations: 1.565 MB / 0.8942 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7079, allocations: 4 kB / 0.8942 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.7081, allocations: 39.97 kB / 0.8943 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/0.7087, allocations: 198.2 kB / 0.8945 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.7087, allocations: 19.97 kB / 0.8945 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/0.7137, allocations: 4.555 MB / 0.8989 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7138, allocations: 0 / 0.8989 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.7158, allocations: 1.061 MB / 0.9 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.7161, allocations: 219.8 kB / 0.9002 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.7162, allocations: 15.98 kB / 0.9002 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.7166, allocations: 35.97 kB / 0.9002 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.7167, allocations: 59.84 kB / 0.9003 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.7168, allocations: 12 kB / 0.9003 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001557/0.7183, allocations: 1.281 MB / 0.9015 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7183, allocations: 0 / 0.9015 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008005/0.7191, allocations: 207.7 kB / 0.9017 GB, free: 5.133 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,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.00394/0.7231, allocations: 1.974 MB / 0.9037 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.7249, allocations: 0.7697 MB / 0.9044 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.725, allocations: 0 / 0.9044 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.7259, allocations: 0.5558 MB / 0.905 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.7271, allocations: 187.7 kB / 0.9051 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.7414, allocations: 9.136 MB / 0.9141 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009241/0.7424, allocations: 1.161 MB / 0.9152 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.7428, allocations: 96.7 kB / 0.9153 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.7433, allocations: 403.3 kB / 0.9157 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of SimCode: time 1.202e-06/0.7433, allocations: 0 / 0.9157 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05818/0.8015, allocations: 20.88 MB / 0.9361 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/10.44, allocations: 5.969 kB / 0.9361 GB, free: 2.008 MB / 0.6544 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)