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: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002047/0.002047, allocations: 191 kB / 16.13 MB, free: 6.691 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00252/0.00252, allocations: 275.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 96 kB / 0.6057 GB, free: 25.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1756, allocations: 89.16 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4768/0.6525, allocations: 154.4 MB / 0.8436 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02648/0.679, allocations: 21.62 MB / 0.8647 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.6813, allocations: 53.75 kB / 0.8648 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.6829, allocations: 1.115 MB / 0.8659 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.6843, allocations: 0.8164 MB / 0.8667 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.6857, allocations: 380.6 kB / 0.867 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.6873, allocations: 1.349 MB / 0.8683 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007875/0.6881, allocations: 0.619 MB / 0.8689 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/0.6888, allocations: 0.4913 MB / 0.8694 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009872/0.6898, allocations: 0.9071 MB / 0.8703 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.6899, allocations: 37.78 kB / 0.8703 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.6902, allocations: 74.27 kB / 0.8704 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.6905, allocations: 306.5 kB / 0.8707 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.691, allocations: 467.1 kB / 0.8712 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.6921, allocations: 1.156 MB / 0.8723 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6921, allocations: 0 / 0.8723 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.21e-07/0.6921, allocations: 4 kB / 0.8723 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.6922, allocations: 0 / 0.8723 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.002491/0.6947, allocations: 1.468 MB / 0.8737 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.6947, allocations: 13.44 kB / 0.8737 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.6949, allocations: 138.4 kB / 0.8739 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.6958, allocations: 0.6508 MB / 0.8745 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.6959, allocations: 78.88 kB / 0.8746 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.696, allocations: 49.92 kB / 0.8746 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.697, allocations: 0.5184 MB / 0.8751 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6971, allocations: 0 / 0.8751 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.6971, allocations: 17.03 kB / 0.8751 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.6971, allocations: 9.562 kB / 0.8752 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.6979, allocations: 419.1 kB / 0.8756 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.003669/0.7016, allocations: 2.808 MB / 0.8783 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.7027, allocations: 455.7 kB / 0.8787 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.7034, allocations: 302.4 kB / 0.879 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.7034, allocations: 4.656 kB / 0.879 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/0.7041, allocations: 297.9 kB / 0.8793 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 3.446e-06/0.7041, allocations: 0 / 0.8793 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003257/0.7073, allocations: 1.246 MB / 0.8805 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.7074, allocations: 63.41 kB / 0.8806 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.7096, allocations: 1.744 MB / 0.8823 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.7097, allocations: 41.69 kB / 0.8823 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005057/0.7102, allocations: 0.518 MB / 0.8828 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.7103, allocations: 145.9 kB / 0.883 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.7105, allocations: 102.2 kB / 0.8831 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7107, allocations: 326 kB / 0.8834 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.7112, allocations: 217 kB / 0.8836 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.7118, allocations: 328.8 kB / 0.8839 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.7128, allocations: 0.5175 MB / 0.8844 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7128, allocations: 0 / 0.8844 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001857/0.7147, allocations: 0.8466 MB / 0.8852 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7147, allocations: 4.938 kB / 0.8852 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7147, allocations: 4 kB / 0.8852 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.7153, allocations: 187 kB / 0.8854 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.7157, allocations: 95.81 kB / 0.8855 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.7194, allocations: 2.748 MB / 0.8882 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.72, allocations: 75.48 kB / 0.8883 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.7201, allocations: 23.98 kB / 0.8883 GB, free: 3.16 MB / 0.6075 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.0006126/0.7207, allocations: 383.4 kB / 0.8887 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.7208, allocations: 118.5 kB / 0.8888 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.7211, allocations: 143.6 kB / 0.8889 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.7211, allocations: 4 kB / 0.8889 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.7211, allocations: 4 kB / 0.8889 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.7211, allocations: 3.984 kB / 0.8889 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.7239, allocations: 1.565 MB / 0.8904 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7239, allocations: 0 / 0.8904 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.7241, allocations: 43.91 kB / 0.8905 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.7247, allocations: 198.4 kB / 0.8907 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.7247, allocations: 8 kB / 0.8907 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004517/0.7292, allocations: 4.129 MB / 0.8947 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.7293, allocations: 0 / 0.8947 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.7313, allocations: 1.069 MB / 0.8958 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.7316, allocations: 211.6 kB / 0.896 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.7317, allocations: 12 kB / 0.896 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.7321, allocations: 31.95 kB / 0.896 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.7322, allocations: 51.92 kB / 0.8961 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.7323, allocations: 31.86 kB / 0.8961 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001588/0.7339, allocations: 1.277 MB / 0.8973 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7339, allocations: 0 / 0.8973 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008178/0.7347, allocations: 211.6 kB / 0.8975 GB, free: 9.301 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.001708/0.7364, allocations: 482.4 kB / 0.898 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.738, allocations: 0.7266 MB / 0.8987 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.738, allocations: 0 / 0.8987 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009421/0.739, allocations: 0.5556 MB / 0.8992 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.74, allocations: 191.6 kB / 0.8994 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.7445, allocations: 2.695 MB / 0.9021 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/0.7454, allocations: 1.157 MB / 0.9032 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003343/0.7457, allocations: 88.72 kB / 0.9033 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.7459, allocations: 43.42 kB / 0.9033 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.7459, allocations: 0 / 0.9033 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of Templates: time 0.02045/0.7663, allocations: 9.847 MB / 0.9129 GB, free: 9.754 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (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 & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)