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.01201/0.01201, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.00237/0.00237, allocations: 195.6 kB / 16.79 MB, free: 6.254 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.841/1.841, allocations: 222.9 MB / 240.4 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 274.8 kB / 290.9 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 169.2 MB / 0.4983 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 91.66 kB / 0.5951 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2294, allocations: 86.98 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6959/0.9253, allocations: 154.4 MB / 0.8309 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02848/0.9538, allocations: 21.65 MB / 0.852 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/0.9574, allocations: 49.59 kB / 0.8521 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.9592, allocations: 1.127 MB / 0.8532 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.9607, allocations: 0.8193 MB / 0.854 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.9619, allocations: 379 kB / 0.8544 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.9632, allocations: 1.355 MB / 0.8557 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000748/0.9639, allocations: 0.606 MB / 0.8563 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006124/0.9646, allocations: 0.4943 MB / 0.8568 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009604/0.9655, allocations: 0.9094 MB / 0.8576 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.441e-05/0.9656, allocations: 35.06 kB / 0.8577 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.9659, allocations: 82.67 kB / 0.8578 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.9662, allocations: 301.3 kB / 0.858 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.9666, allocations: 466.4 kB / 0.8585 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007996/0.9674, allocations: 0.9157 MB / 0.8594 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9674, allocations: 0 / 0.8594 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9674, allocations: 0 / 0.8594 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.9674, allocations: 0 / 0.8594 GB, free: 7.426 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.00229/0.9697, allocations: 1.475 MB / 0.8608 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.9698, allocations: 13.64 kB / 0.8608 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.97, allocations: 141.9 kB / 0.861 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/0.9708, allocations: 0.6518 MB / 0.8616 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.9709, allocations: 74.22 kB / 0.8617 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.971, allocations: 50.2 kB / 0.8617 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.972, allocations: 0.5212 MB / 0.8622 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.972, allocations: 3.281 kB / 0.8622 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.9721, allocations: 14.78 kB / 0.8623 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.9721, allocations: 9.375 kB / 0.8623 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008203/0.9729, allocations: 423.1 kB / 0.8627 GB, free: 5.023 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.003483/0.9764, allocations: 2.804 MB / 0.8654 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009888/0.9774, allocations: 455.8 kB / 0.8658 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.978, allocations: 293.1 kB / 0.8661 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.978, allocations: 2.75 kB / 0.8661 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.9786, allocations: 289.7 kB / 0.8664 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 1.874e-06/0.9786, allocations: 2.531 kB / 0.8664 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002842/0.9815, allocations: 1.245 MB / 0.8676 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.9815, allocations: 60.66 kB / 0.8677 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.9834, allocations: 1.747 MB / 0.8694 GB, free: 440 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.9834, allocations: 36.2 kB / 0.8694 GB, free: 400 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004395/0.9839, allocations: 0.5259 MB / 0.8699 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.984, allocations: 145.5 kB / 0.8701 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.9841, allocations: 94.84 kB / 0.8702 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9843, allocations: 330.3 kB / 0.8705 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.9847, allocations: 218.8 kB / 0.8707 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.9853, allocations: 327.4 kB / 0.871 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.9861, allocations: 0.5086 MB / 0.8715 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9862, allocations: 0 / 0.8715 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001553/0.9877, allocations: 0.8476 MB / 0.8723 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9877, allocations: 4.688 kB / 0.8723 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9878, allocations: 2.688 kB / 0.8723 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.9883, allocations: 190.4 kB / 0.8725 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.9886, allocations: 96.31 kB / 0.8726 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/0.9919, allocations: 2.737 MB / 0.8753 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/0.9923, allocations: 80.23 kB / 0.8753 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.9924, allocations: 22.67 kB / 0.8754 GB, free: 11.92 MB / 0.5919 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.0004739/0.9929, allocations: 400.6 kB / 0.8757 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.993, allocations: 115.6 kB / 0.8759 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.9932, allocations: 144.1 kB / 0.876 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9932, allocations: 5.156 kB / 0.876 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.9933, allocations: 2.75 kB / 0.876 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.9933, allocations: 7.922 kB / 0.876 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.9957, allocations: 1.563 MB / 0.8775 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.9957, allocations: 0 / 0.8775 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.9959, allocations: 45.03 kB / 0.8776 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.9964, allocations: 198.5 kB / 0.8778 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.9964, allocations: 13.55 kB / 0.8778 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/1, allocations: 4.132 MB / 0.8818 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1, allocations: 0 / 0.8818 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/1.002, allocations: 1.06 MB / 0.8829 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/1.002, allocations: 215.9 kB / 0.8831 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.003, allocations: 11.25 kB / 0.8831 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/1.003, allocations: 43.67 kB / 0.8831 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.003, allocations: 46.92 kB / 0.8832 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/1.003, allocations: 21.55 kB / 0.8832 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001359/1.004, allocations: 1.278 MB / 0.8844 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/1.004, allocations: 0 / 0.8844 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007822/1.005, allocations: 218.6 kB / 0.8846 GB, free: 5.148 MB / 0.5919 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.001421/1.007, allocations: 489.7 kB / 0.8851 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00166/1.008, allocations: 0.7184 MB / 0.8858 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/1.008, allocations: 0 / 0.8858 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000924/1.009, allocations: 0.5557 MB / 0.8863 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.01, allocations: 181.8 kB / 0.8865 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/1.015, allocations: 2.751 MB / 0.8892 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007587/1.015, allocations: 1.142 MB / 0.8903 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/1.016, allocations: 47.42 kB / 0.8904 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/1.016, allocations: 0 / 0.8904 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.02316/1.039, allocations: 17.83 MB / 0.9078 GB, free: 13.82 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4CalcHelperMain.o] Error 1