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.001335/0.001335, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001332/0.001332, allocations: 196.3 kB / 16.25 MB, free: 6.637 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.518/1.518, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 286.8 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.138/1.138, allocations: 178.6 MB / 0.507 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 99 kB / 0.6059 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1678, allocations: 89.16 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4962/0.6641, allocations: 154.6 MB / 0.8439 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02701/0.6911, allocations: 21.49 MB / 0.8649 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.6929, allocations: 49.97 kB / 0.865 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.6944, allocations: 1.127 MB / 0.8661 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.6957, allocations: 0.8248 MB / 0.8669 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.6967, allocations: 383 kB / 0.8672 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.6979, allocations: 1.259 MB / 0.8685 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007871/0.6987, allocations: 0.6919 MB / 0.8691 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.6993, allocations: 0.5536 MB / 0.8697 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009043/0.7002, allocations: 0.9536 MB / 0.8706 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.722e-05/0.7003, allocations: 65.12 kB / 0.8707 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.7005, allocations: 116.8 kB / 0.8708 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.7008, allocations: 332.3 kB / 0.8711 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.7012, allocations: 492 kB / 0.8716 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.7024, allocations: 1.18 MB / 0.8727 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7024, allocations: 2.656 kB / 0.8727 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7024, allocations: 0 / 0.8727 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.7024, allocations: 4 kB / 0.8727 GB, free: 2.574 MB / 0.5919 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.002183/0.7046, allocations: 1.473 MB / 0.8742 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.7046, allocations: 10.09 kB / 0.8742 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.7048, allocations: 135.7 kB / 0.8743 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.7056, allocations: 0.6519 MB / 0.8749 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.7058, allocations: 75.75 kB / 0.875 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.7058, allocations: 48.91 kB / 0.8751 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009408/0.7068, allocations: 0.5162 MB / 0.8756 GB, free: 420 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.7068, allocations: 1.906 kB / 0.8756 GB, free: 420 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.7069, allocations: 21.61 kB / 0.8756 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7069, allocations: 10.06 kB / 0.8756 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008025/0.7077, allocations: 419 kB / 0.876 GB, free: 192 kB / 0.5919 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.003694/0.7114, allocations: 2.733 MB / 0.8787 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009968/0.7124, allocations: 448.5 kB / 0.8791 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/0.7131, allocations: 305.9 kB / 0.8794 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.7131, allocations: 4.656 kB / 0.8794 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/0.7137, allocations: 287.4 kB / 0.8797 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.275e-06/0.7138, allocations: 7.875 kB / 0.8797 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002762/0.7165, allocations: 1.148 MB / 0.8808 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.7166, allocations: 55.41 kB / 0.8808 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.7187, allocations: 1.768 MB / 0.8826 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.7188, allocations: 37.7 kB / 0.8826 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000542/0.7193, allocations: 0.5211 MB / 0.8831 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.7195, allocations: 146 kB / 0.8833 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.7197, allocations: 98.23 kB / 0.8834 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7198, allocations: 326 kB / 0.8837 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.7203, allocations: 217 kB / 0.8839 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.7209, allocations: 335.2 kB / 0.8842 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.7219, allocations: 0.5164 MB / 0.8847 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7219, allocations: 4 kB / 0.8847 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001601/0.7235, allocations: 0.8072 MB / 0.8855 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7235, allocations: 7.938 kB / 0.8855 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7236, allocations: 4.219 kB / 0.8855 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004237/0.724, allocations: 145.5 kB / 0.8856 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.7244, allocations: 103.8 kB / 0.8857 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.7276, allocations: 2.613 MB / 0.8883 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.7281, allocations: 75.48 kB / 0.8884 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.7281, allocations: 20.06 kB / 0.8884 GB, free: 3.117 MB / 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.0005254/0.7287, allocations: 392.7 kB / 0.8888 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.7288, allocations: 114.5 kB / 0.8889 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.729, allocations: 143.7 kB / 0.889 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7291, allocations: 4 kB / 0.889 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.7291, allocations: 4 kB / 0.889 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.7291, allocations: 3.984 kB / 0.889 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.7316, allocations: 1.493 MB / 0.8905 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7316, allocations: 0 / 0.8905 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.7318, allocations: 43.91 kB / 0.8905 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.7323, allocations: 169 kB / 0.8907 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.7323, allocations: 11.98 kB / 0.8907 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/0.7366, allocations: 4.027 MB / 0.8946 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7366, allocations: 0 / 0.8946 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.7384, allocations: 0.9984 MB / 0.8956 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.7387, allocations: 215.5 kB / 0.8958 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.7388, allocations: 15.98 kB / 0.8958 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.7391, allocations: 35.97 kB / 0.8958 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.7393, allocations: 51.92 kB / 0.8959 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.7393, allocations: 12 kB / 0.8959 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001517/0.7408, allocations: 1.3 MB / 0.8972 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7408, allocations: 0 / 0.8972 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007467/0.7416, allocations: 199.7 kB / 0.8974 GB, free: 9.52 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.001738/0.7433, allocations: 470.2 kB / 0.8978 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.7449, allocations: 0.7018 MB / 0.8985 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7449, allocations: 0 / 0.8985 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008852/0.7458, allocations: 0.5287 MB / 0.899 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/0.7468, allocations: 210.7 kB / 0.8992 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.7508, allocations: 2.677 MB / 0.9018 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/0.7517, allocations: 1.157 MB / 0.903 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000301/0.752, allocations: 92.77 kB / 0.9031 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.7521, allocations: 47.42 kB / 0.9031 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.7521, allocations: 4 kB / 0.9031 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of Templates: time 0.01948/0.7716, allocations: 9.785 MB / 0.9127 GB, free: 10.08 MB / 0.6387 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)