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: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007891/0.0007892, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005236/0.005236, allocations: 170 kB / 16.26 MB, free: 6.613 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001719, allocations: 278.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004332, allocations: 11.56 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.439/0.5893, allocations: 152.3 MB / 0.8339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02437/0.6137, allocations: 21.38 MB / 0.8548 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.616, allocations: 47.25 kB / 0.8548 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.6175, allocations: 1.13 MB / 0.8559 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.6188, allocations: 0.8101 MB / 0.8567 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.6199, allocations: 382.6 kB / 0.8571 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.621, allocations: 1.348 MB / 0.8584 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/0.6217, allocations: 0.5832 MB / 0.859 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.6222, allocations: 491.6 kB / 0.8594 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008195/0.6231, allocations: 0.8811 MB / 0.8603 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.6231, allocations: 28 kB / 0.8603 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.6233, allocations: 68.3 kB / 0.8604 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.6236, allocations: 296.3 kB / 0.8607 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.6239, allocations: 473.1 kB / 0.8611 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.6248, allocations: 1.13 MB / 0.8622 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6248, allocations: 0 / 0.8622 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6248, allocations: 0 / 0.8622 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.6248, allocations: 0 / 0.8622 GB, free: 5.508 MB / 0.5762 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.001859/0.6267, allocations: 1.311 MB / 0.8635 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6267, allocations: 16.02 kB / 0.8635 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.6269, allocations: 138.2 kB / 0.8636 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.6276, allocations: 0.6515 MB / 0.8643 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.6278, allocations: 77.59 kB / 0.8644 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.6279, allocations: 52.58 kB / 0.8644 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.6288, allocations: 0.5284 MB / 0.8649 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.6288, allocations: 2.938 kB / 0.8649 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.6289, allocations: 14.88 kB / 0.8649 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.6289, allocations: 10.91 kB / 0.865 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008089/0.6297, allocations: 432.1 kB / 0.8654 GB, free: 3.242 MB / 0.5762 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.003212/0.6329, allocations: 2.786 MB / 0.8681 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.6338, allocations: 459.9 kB / 0.8685 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/0.6344, allocations: 320.8 kB / 0.8688 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.6345, allocations: 5.828 kB / 0.8688 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.635, allocations: 297.8 kB / 0.8691 GB, free: 320 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.635, allocations: 0 / 0.8691 GB, free: 320 kB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002578/0.6376, allocations: 1.191 MB / 0.8703 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6377, allocations: 58.22 kB / 0.8703 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.6393, allocations: 1.76 MB / 0.8721 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.6393, allocations: 36.42 kB / 0.8721 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.6397, allocations: 0.5277 MB / 0.8726 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6398, allocations: 143.8 kB / 0.8727 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.6399, allocations: 54.03 kB / 0.8728 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.64, allocations: 327.3 kB / 0.8731 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.6405, allocations: 231.6 kB / 0.8733 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.6411, allocations: 356.6 kB / 0.8737 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.642, allocations: 0.5422 MB / 0.8742 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.642, allocations: 4 kB / 0.8742 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001564/0.6436, allocations: 0.844 MB / 0.875 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6436, allocations: 18.03 kB / 0.875 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.6436, allocations: 3.938 kB / 0.875 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.644, allocations: 140.7 kB / 0.8752 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.6444, allocations: 111.8 kB / 0.8753 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.647, allocations: 2.406 MB / 0.8776 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.6475, allocations: 91.39 kB / 0.8777 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.6475, allocations: 24.06 kB / 0.8777 GB, free: 9.316 MB / 0.5919 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.0004288/0.648, allocations: 383.3 kB / 0.8781 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.6481, allocations: 118.5 kB / 0.8782 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.6483, allocations: 139.7 kB / 0.8784 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6483, allocations: 7.984 kB / 0.8784 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.6483, allocations: 7.938 kB / 0.8784 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.6483, allocations: 0 / 0.8784 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.6506, allocations: 1.513 MB / 0.8799 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6506, allocations: 0 / 0.8799 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.6509, allocations: 51.89 kB / 0.8799 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003781/0.6513, allocations: 161.6 kB / 0.8801 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.6513, allocations: 15.98 kB / 0.8801 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003281/0.6546, allocations: 3.7 MB / 0.8837 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6546, allocations: 0 / 0.8837 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.6563, allocations: 1.026 MB / 0.8847 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.6566, allocations: 211.6 kB / 0.8849 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.6567, allocations: 15.98 kB / 0.8849 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.657, allocations: 59.69 kB / 0.885 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6571, allocations: 43.92 kB / 0.885 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.6572, allocations: 19.98 kB / 0.885 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001275/0.6585, allocations: 1.285 MB / 0.8863 GB, free: 196 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6585, allocations: 0 / 0.8863 GB, free: 196 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006927/0.6592, allocations: 203.8 kB / 0.8865 GB, free: 15.99 MB / 0.6075 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.001061/0.6602, allocations: 475.4 kB / 0.8869 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.6616, allocations: 0.6975 MB / 0.8876 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6616, allocations: 0 / 0.8876 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.6624, allocations: 0.5408 MB / 0.8881 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/0.6634, allocations: 184.1 kB / 0.8883 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.6668, allocations: 2.762 MB / 0.891 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.6675, allocations: 1.153 MB / 0.8921 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.6678, allocations: 96.77 kB / 0.8922 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.6679, allocations: 43.44 kB / 0.8923 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.6679, allocations: 0 / 0.8923 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of Templates: time 0.01652/0.6844, allocations: 9.24 MB / 0.9013 GB, free: 1.047 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (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 & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)