Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 118.9 kB / 17.13 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002649/0.002649, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.947/2.947, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u.1.|reaRep.y.1|1.|reaRep.y.2|2.|reaRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u.1.|reaRep.y.1|1.|reaRep.y.2|2.|reaRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 71.91 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8242, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001589/0.8258, allocations: 0.6538 MB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.8264, allocations: 0.8224 MB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.8265, allocations: 6.625 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.973e-05/0.8265, allocations: 3.234 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.8266, allocations: 10.75 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.745e-05/0.8267, allocations: 7.422 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.823e-05/0.8268, allocations: 65.36 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.8269, allocations: 19.53 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.8269, allocations: 29.56 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.827, allocations: 29.94 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.827, allocations: 2.906 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.827, allocations: 5.438 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.8271, allocations: 27.17 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.8271, allocations: 21.88 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.468e-05/0.8272, allocations: 74.41 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.8272, allocations: 0 / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8272, allocations: 2.75 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8272, allocations: 0 / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004565/0.8276, allocations: 388.1 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.8277, allocations: 11.98 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.8277, allocations: 18.14 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.8278, allocations: 182.1 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.8278, allocations: 4.375 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.8278, allocations: 3.031 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.8281, allocations: 134.7 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8281, allocations: 4.125 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.8281, allocations: 6.375 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.8282, allocations: 4 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.8285, allocations: 123.2 kB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.829, allocations: 441.4 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.8292, allocations: 86.92 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.8293, allocations: 63.47 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.8293, allocations: 3.984 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.8294, allocations: 37.03 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8294, allocations: 0 / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0005965/0.83, allocations: 195.8 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.83, allocations: 81.11 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.8301, allocations: 116 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.8301, allocations: 28.55 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.8301, allocations: 98.28 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.8301, allocations: 3.953 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.8301, allocations: 20.47 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.8302, allocations: 321.2 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.8303, allocations: 55.27 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.8305, allocations: 65.14 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.8308, allocations: 105.5 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8308, allocations: 4 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003355/0.8311, allocations: 140.8 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.8311, allocations: 5.531 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.8311, allocations: 4.062 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8312, allocations: 0 / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.8313, allocations: 17.7 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8313, allocations: 2.594 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.8314, allocations: 18.55 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.8314, allocations: 0 / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.8314, allocations: 121 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.8315, allocations: 6.578 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.8315, allocations: 17.72 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.8315, allocations: 0 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.8315, allocations: 2.875 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.8315, allocations: 3.938 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.8317, allocations: 186.8 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8317, allocations: 3.938 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/0.8318, allocations: 21.52 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.8318, allocations: 0 / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.8318, allocations: 2.781 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8318, allocations: 4 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8318, allocations: 0 / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.8321, allocations: 304.9 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.8321, allocations: 81.09 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.8322, allocations: 13.92 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.8323, allocations: 11.17 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.8323, allocations: 9.719 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.8323, allocations: 9.938 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.8324, allocations: 93.11 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8324, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002527/0.8326, allocations: 7.875 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.935e-05/0.8327, allocations: 112 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.8331, allocations: 109.8 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8331, allocations: 2.938 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.8333, allocations: 68.09 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.8336, allocations: 12.11 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.8339, allocations: 188.4 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.834, allocations: 0.6976 MB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.8341, allocations: 9.594 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.8341, allocations: 0 / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of Templates: time 0.002553/0.8366, allocations: 0.9668 MB / 1.329 GB, free: 20.02 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile clang++ -std=c++17 -fopenmp=libomp -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 OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorInitialize.cpp:170:50: error: use of undeclared identifier 'reaRep_P_y_' SystemDefaultImplementation::setRealStartValue(reaRep_P_y_(3,1), (_ram1_P_offset_ + tmp4), false); ^ In file included from OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.cpp:178:3: error: use of undeclared identifier 'reaRep_P_y_' reaRep_P_y_(3,1) = (_ram1_P_offset_ + tmp10); ^ 2 errors generated. make: *** [: OMCppBuildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.365921969991177] Failed to read output from testmodel.py, exit status != 0: 0.8448156990052667 0.855106319 0.02551662 Calling exit ...