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: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.0009453/0.0009453, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.234/1.234, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 286.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9151/0.9151, allocations: 169.2 MB / 0.4988 GB, free: 4.527 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 90.8 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1918, allocations: 86.98 MB / 0.6808 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4063/0.5981, allocations: 156.7 MB / 0.8339 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.6195, allocations: 21.74 MB / 0.8551 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.621, allocations: 55.69 kB / 0.8552 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.6223, allocations: 1.165 MB / 0.8563 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.6235, allocations: 0.8562 MB / 0.8571 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000896/0.6244, allocations: 437.8 kB / 0.8576 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009646/0.6254, allocations: 1.252 MB / 0.8588 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006725/0.626, allocations: 0.6826 MB / 0.8595 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.6266, allocations: 0.5491 MB / 0.86 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008646/0.6275, allocations: 0.9177 MB / 0.8609 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.6276, allocations: 68 kB / 0.8609 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.6278, allocations: 112 kB / 0.8611 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.628, allocations: 312.7 kB / 0.8614 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.6284, allocations: 492.8 kB / 0.8618 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000898/0.6293, allocations: 1.187 MB / 0.863 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6293, allocations: 4 kB / 0.863 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6293, allocations: 0 / 0.863 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.6293, allocations: 0 / 0.863 GB, free: 4.492 MB / 0.6231 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.001948/0.6313, allocations: 1.475 MB / 0.8644 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.6313, allocations: 11.97 kB / 0.8644 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.6315, allocations: 131.3 kB / 0.8646 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/0.6322, allocations: 0.6591 MB / 0.8652 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.6324, allocations: 74.69 kB / 0.8653 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.6325, allocations: 43.98 kB / 0.8653 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/0.6334, allocations: 0.5184 MB / 0.8658 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.6334, allocations: 4 kB / 0.8658 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.6335, allocations: 27.98 kB / 0.8659 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.6335, allocations: 8 kB / 0.8659 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008318/0.6343, allocations: 411.7 kB / 0.8663 GB, free: 1.02 MB / 0.6231 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.003356/0.6377, allocations: 2.735 MB / 0.8689 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/0.6386, allocations: 443.6 kB / 0.8694 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.6392, allocations: 310.5 kB / 0.8696 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.6392, allocations: 4.656 kB / 0.8697 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005005/0.6397, allocations: 283 kB / 0.8699 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.6397, allocations: 0 / 0.8699 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.002444/0.6422, allocations: 1.156 MB / 0.8711 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.6422, allocations: 63.34 kB / 0.8711 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.6438, allocations: 1.752 MB / 0.8728 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.6439, allocations: 45.69 kB / 0.8729 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.6442, allocations: 0.5249 MB / 0.8734 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.6443, allocations: 142 kB / 0.8735 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.6445, allocations: 102.2 kB / 0.8736 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.6446, allocations: 330 kB / 0.8739 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.645, allocations: 209 kB / 0.8741 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.6455, allocations: 331.2 kB / 0.8744 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000834/0.6464, allocations: 0.5205 MB / 0.875 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6464, allocations: 7.984 kB / 0.875 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001401/0.6478, allocations: 0.8011 MB / 0.8757 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6478, allocations: 11.94 kB / 0.8758 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6478, allocations: 4 kB / 0.8758 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003794/0.6482, allocations: 141.8 kB / 0.8759 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.6486, allocations: 103.8 kB / 0.876 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.6511, allocations: 2.616 MB / 0.8785 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.6516, allocations: 79.55 kB / 0.8786 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.6516, allocations: 20 kB / 0.8786 GB, free: 3.75 MB / 0.6387 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.00041/0.652, allocations: 379.4 kB / 0.879 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6521, allocations: 114.5 kB / 0.8791 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.6523, allocations: 143.7 kB / 0.8792 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6523, allocations: 7.938 kB / 0.8793 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6524, allocations: 4 kB / 0.8793 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6524, allocations: 7.984 kB / 0.8793 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.6545, allocations: 1.489 MB / 0.8807 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6545, allocations: 0 / 0.8807 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.6547, allocations: 47.91 kB / 0.8808 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003757/0.6551, allocations: 161.6 kB / 0.8809 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.6552, allocations: 15.98 kB / 0.8809 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003242/0.6584, allocations: 4.025 MB / 0.8849 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6584, allocations: 0 / 0.8849 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.66, allocations: 0.987 MB / 0.8858 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.6602, allocations: 223.4 kB / 0.886 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.6603, allocations: 15.98 kB / 0.8861 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.6606, allocations: 31.97 kB / 0.8861 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.6607, allocations: 47.94 kB / 0.8861 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.6607, allocations: 15.98 kB / 0.8862 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001168/0.6619, allocations: 1.289 MB / 0.8874 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6619, allocations: 0 / 0.8874 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006198/0.6626, allocations: 195.7 kB / 0.8876 GB, free: 10.18 MB / 0.6544 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.001027/0.6636, allocations: 481.8 kB / 0.8881 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.6649, allocations: 0.698 MB / 0.8887 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6649, allocations: 0 / 0.8887 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007313/0.6657, allocations: 0.521 MB / 0.8892 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.6666, allocations: 202.8 kB / 0.8894 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.6698, allocations: 2.456 MB / 0.8918 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.6704, allocations: 1.142 MB / 0.893 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.6705, allocations: 47.42 kB / 0.893 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6705, allocations: 0 / 0.893 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of Templates: time 0.02125/0.6918, allocations: 17.82 MB / 0.9104 GB, free: 2.957 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (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 & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)