Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 118.7 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 193.2 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001977/0.2966, allocations: 0.6492 MB / 1.215 GB, free: 344 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.2975, allocations: 0.804 MB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.2975, allocations: 0 / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.194e-05/0.2976, allocations: 3.938 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.2977, allocations: 11.92 kB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.228e-05/0.2977, allocations: 7.938 kB / 1.216 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.923e-05/0.2978, allocations: 55.89 kB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.2979, allocations: 19.92 kB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.298, allocations: 31.84 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.298, allocations: 31.91 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2981, allocations: 4 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.2981, allocations: 4 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.2981, allocations: 23.92 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.2981, allocations: 23.86 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2983, allocations: 71.77 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2983, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2983, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2983, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 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.0005784/0.2988, allocations: 395.1 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.2989, allocations: 12.03 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.2989, allocations: 0.9375 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.2991, allocations: 192.2 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2991, allocations: 4.375 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.2991, allocations: 4.375 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.2994, allocations: 135.8 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2994, allocations: 8.125 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2994, allocations: 7.938 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-06/0.2994, allocations: 0 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.2998, allocations: 123.8 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.3004, allocations: 440.8 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3007, allocations: 81.09 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.3009, allocations: 69.7 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.3009, allocations: 4 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3009, allocations: 30.56 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3009, allocations: 0 / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0007065/0.3016, allocations: 197.5 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.3017, allocations: 77.11 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3018, allocations: 121.8 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3018, allocations: 25.7 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.3018, allocations: 92.09 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3019, allocations: 11.92 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3019, allocations: 21.88 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3021, allocations: 314.8 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3023, allocations: 51.92 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3024, allocations: 69.64 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.3028, allocations: 109.6 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3028, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004018/0.3032, allocations: 145.5 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3032, allocations: 4 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3032, allocations: 0 / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3032, allocations: 4.375 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3034, allocations: 15.97 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3034, allocations: 4 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.3035, allocations: 19.88 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.3035, allocations: 7.922 kB / 1.218 GB, free: 12.23 MB / 0.9669 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 9.867e-05/0.3036, allocations: 129.8 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.3036, allocations: 7.984 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.3036, allocations: 7.531 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3036, allocations: 4 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3036, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3036, allocations: 3.938 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3039, allocations: 177.6 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3039, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.304, allocations: 19.97 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.304, allocations: 4 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.304, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.304, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.304, allocations: 7.938 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.3045, allocations: 314.6 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3045, allocations: 77.11 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.3046, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3047, allocations: 23.97 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.3047, allocations: 7.922 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3048, allocations: 4 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.3048, allocations: 91.27 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3048, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002585/0.3051, allocations: 19.98 kB / 1.219 GB, free: 11.25 MB / 0.9669 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 0.0001169/0.3052, allocations: 103.2 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.3056, allocations: 107.8 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3056, allocations: 0 / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3058, allocations: 68.05 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3061, allocations: 8 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.3065, allocations: 195.8 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3069, allocations: 0.6965 MB / 1.22 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.3069, allocations: 19.56 kB / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3069, allocations: 0 / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of Templates: time 0.002459/0.3094, allocations: 0.9666 MB / 1.221 GB, free: 9.027 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] make -j1 -f Buildings_10_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.571968381060287] Failed to read output from testmodel.py, exit status != 0: 0.31726866494864225 0.33095753799999994 0.02967165499999994 Calling exit ...