Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.00523/0.00523, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.0012/0.0012, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002227/0.002227, allocations: 287 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9608/0.9608, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 99.86 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1495, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.47/0.6195, allocations: 156.7 MB / 0.9189 GB, free: 6.492 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.6428, allocations: 21.76 MB / 0.9402 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.6443, allocations: 55.69 kB / 0.9402 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.6458, allocations: 1.161 MB / 0.9414 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.6473, allocations: 0.8602 MB / 0.9422 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.6484, allocations: 447.7 kB / 0.9426 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.6497, allocations: 1.264 MB / 0.9439 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.6504, allocations: 0.6872 MB / 0.9445 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/0.651, allocations: 0.553 MB / 0.9451 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009218/0.652, allocations: 0.9177 MB / 0.946 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.801e-05/0.6521, allocations: 64 kB / 0.946 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.6523, allocations: 104 kB / 0.9461 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.6526, allocations: 324.6 kB / 0.9464 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.653, allocations: 492.8 kB / 0.9469 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.6541, allocations: 1.203 MB / 0.9481 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6542, allocations: 0 / 0.9481 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6542, allocations: 0 / 0.9481 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.6542, allocations: 0 / 0.9481 GB, free: 8.562 MB / 0.7012 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.00217/0.6564, allocations: 1.528 MB / 0.9496 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6564, allocations: 15.97 kB / 0.9496 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.142e-05/0.6565, allocations: 86.7 kB / 0.9497 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.6567, allocations: 144 kB / 0.9498 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.6575, allocations: 0.6717 MB / 0.9505 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.6577, allocations: 70.67 kB / 0.9505 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.34e-05/0.6578, allocations: 48 kB / 0.9506 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009445/0.6587, allocations: 0.5223 MB / 0.9511 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.6587, allocations: 0 / 0.9511 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.6588, allocations: 19.94 kB / 0.9511 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.6588, allocations: 12 kB / 0.9511 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008438/0.6597, allocations: 415.7 kB / 0.9515 GB, free: 4.91 MB / 0.7012 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.003489/0.6632, allocations: 2.796 MB / 0.9543 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.6642, allocations: 456.6 kB / 0.9547 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.6648, allocations: 288.6 kB / 0.955 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.6648, allocations: 8.312 kB / 0.955 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.6654, allocations: 298.7 kB / 0.9553 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.6654, allocations: 0 / 0.9553 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.002914/0.6683, allocations: 1.245 MB / 0.9565 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.6684, allocations: 59.39 kB / 0.9565 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.6701, allocations: 1.755 MB / 0.9582 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.6701, allocations: 37.7 kB / 0.9583 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.6705, allocations: 0.5183 MB / 0.9588 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.6707, allocations: 154.8 kB / 0.9589 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.6708, allocations: 94.25 kB / 0.959 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6709, allocations: 330 kB / 0.9593 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.6714, allocations: 217 kB / 0.9595 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.672, allocations: 324.9 kB / 0.9599 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.6729, allocations: 0.503 MB / 0.9603 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6729, allocations: 11.94 kB / 0.9604 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001613/0.6745, allocations: 0.8527 MB / 0.9612 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6745, allocations: 8 kB / 0.9612 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.6745, allocations: 4 kB / 0.9612 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005095/0.6751, allocations: 191.5 kB / 0.9614 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.6754, allocations: 91.88 kB / 0.9615 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.6788, allocations: 2.998 MB / 0.9644 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.6792, allocations: 79.69 kB / 0.9645 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.6793, allocations: 19.94 kB / 0.9645 GB, free: 7.047 MB / 0.7169 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.0004556/0.6798, allocations: 395.2 kB / 0.9649 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6799, allocations: 119.2 kB / 0.965 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.6801, allocations: 139.7 kB / 0.9651 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6801, allocations: 4 kB / 0.9651 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.6801, allocations: 7.938 kB / 0.9651 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.6801, allocations: 7.984 kB / 0.9651 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.6826, allocations: 1.572 MB / 0.9667 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6826, allocations: 4 kB / 0.9667 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.6829, allocations: 39.97 kB / 0.9667 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.6833, allocations: 190.3 kB / 0.9669 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.6834, allocations: 15.98 kB / 0.9669 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004178/0.6876, allocations: 4.553 MB / 0.9714 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6876, allocations: 3.984 kB / 0.9714 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.6894, allocations: 1.067 MB / 0.9724 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.6898, allocations: 224.2 kB / 0.9726 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/0.6899, allocations: 8 kB / 0.9726 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.6902, allocations: 27.97 kB / 0.9727 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.6903, allocations: 55.92 kB / 0.9727 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.6904, allocations: 19.98 kB / 0.9727 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001276/0.6917, allocations: 1.273 MB / 0.974 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6917, allocations: 0 / 0.974 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007747/0.6924, allocations: 207.7 kB / 0.9742 GB, free: 12.74 MB / 0.7325 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.002998/0.6954, allocations: 1.988 MB / 0.9761 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.697, allocations: 0.7228 MB / 0.9768 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.697, allocations: 0 / 0.9768 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009423/0.698, allocations: 0.5553 MB / 0.9774 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.6991, allocations: 201.4 kB / 0.9775 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.7109, allocations: 8.621 MB / 0.986 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/0.7117, allocations: 1.149 MB / 0.9871 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002949/0.712, allocations: 96.72 kB / 0.9872 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.7124, allocations: 407.3 kB / 0.9876 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/0.7124, allocations: 0 / 0.9876 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04387/0.7563, allocations: 21.25 MB / 1.008 GB, free: 10 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.73, allocations: 5.109 kB / 1.008 GB, free: 9.996 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_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_TestCase2.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)