Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001657/0.001657, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001759/0.001759, allocations: 225 kB / 23 MB, free: 4.914 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.299/3.299, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002104/0.002104, allocations: 72.33 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3436, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001968/0.3455, allocations: 0.6569 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3466, allocations: 0.8203 MB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.3467, allocations: 7.938 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.954e-05/0.3468, allocations: 7.922 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.027e-05/0.3469, allocations: 4 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.585e-05/0.3469, allocations: 11.92 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.347, allocations: 63.83 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3472, allocations: 7.984 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.3472, allocations: 23.94 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.226e-05/0.3473, allocations: 35.89 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.3473, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3474, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.3474, allocations: 27.91 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.3475, allocations: 27.81 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.3476, allocations: 63.78 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3476, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3476, allocations: 4 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3476, allocations: 0 / 1.366 GB, free: 11.83 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.0006067/0.3482, allocations: 310.1 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3482, allocations: 12.03 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.3483, allocations: 8.891 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3485, allocations: 130.5 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3485, allocations: 384 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3485, allocations: 4.375 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.3488, allocations: 135.8 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3488, allocations: 192 / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3489, allocations: 7.938 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3489, allocations: 0 / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.3493, allocations: 131.8 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.3499, allocations: 372.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3501, allocations: 93.14 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.3503, allocations: 65.64 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.3503, allocations: 0 / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3503, allocations: 42.5 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3503, allocations: 3.938 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0006672/0.351, allocations: 181.7 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.3511, allocations: 89.08 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3512, allocations: 117.8 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3512, allocations: 25.7 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.3513, allocations: 100 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3513, allocations: 3.953 kB / 1.368 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.3513, allocations: 13.72 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3515, allocations: 322.8 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3517, allocations: 47.94 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.3519, allocations: 73.64 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.3522, allocations: 101.6 kB / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3522, allocations: 0 / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003906/0.3526, allocations: 141.5 kB / 1.369 GB, free: 9.133 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3526, allocations: 4 kB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3526, allocations: 4 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3526, allocations: 3.984 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3528, allocations: 19.98 kB / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3528, allocations: 0 / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.3529, allocations: 23.97 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3529, allocations: 0 / 1.369 GB, free: 9.078 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 0.0001134/0.353, allocations: 134.8 kB / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.353, allocations: 0 / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.353, allocations: 7.469 kB / 1.369 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3531, allocations: 0 / 1.369 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3531, allocations: 0 / 1.369 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3531, allocations: 7.969 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.3533, allocations: 125.2 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3533, allocations: 0 / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3534, allocations: 19.97 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3534, allocations: 4 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3534, allocations: 384 / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3534, allocations: 0 / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3534, allocations: 0 / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.3539, allocations: 314.5 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.3539, allocations: 11.97 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3539, allocations: 3.984 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.354, allocations: 15.98 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.3541, allocations: 7.984 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3541, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.3541, allocations: 91.27 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3541, allocations: 7.938 kB / 1.37 GB, free: 8.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000258/0.3544, allocations: 11.95 kB / 1.37 GB, free: 8.266 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 0.0001216/0.3545, allocations: 103.2 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.3549, allocations: 115.8 kB / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.355, allocations: 0 / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3551, allocations: 59.92 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3555, allocations: 20.23 kB / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.3559, allocations: 188.1 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.893e-05/0.356, allocations: 79.33 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.356, allocations: 11.44 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.356, allocations: 0 / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of Templates: time 0.002497/0.3585, allocations: 0.9813 MB / 1.371 GB, free: 6.664 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] make -j1 -f Buildings_latest_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 -DOMC_BUILD -DUSE_THREAD -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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.cpp:33: ./OMCppBuildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.17284657806158] Failed to read output from testmodel.py, exit status != 0: 0.3661036971025169 0.38074614 0.030135492000000003 Calling exit ...