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.001694/0.001694, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00211/0.00211, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.27/3.27, allocations: 0.505 GB / 0.8108 GB, free: 22.1 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.002625/0.002625, allocations: 71.02 kB / 1.178 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3386, allocations: 180.2 MB / 1.354 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001784/0.3404, allocations: 0.6562 MB / 1.355 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.3414, allocations: 0.832 MB / 1.356 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.3414, allocations: 4 kB / 1.356 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.552e-05/0.3415, allocations: 3.938 kB / 1.356 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.131e-05/0.3416, allocations: 11.92 kB / 1.356 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.234e-05/0.3417, allocations: 8 kB / 1.356 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3418, allocations: 55.88 kB / 1.356 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3419, allocations: 8 kB / 1.356 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.342, allocations: 27.86 kB / 1.356 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.342, allocations: 39.83 kB / 1.356 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3421, allocations: 4 kB / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.3421, allocations: 8 kB / 1.356 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.3421, allocations: 15.98 kB / 1.356 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.3422, allocations: 35.8 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3423, allocations: 63.77 kB / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3423, allocations: 0 / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3423, allocations: 0 / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3423, allocations: 0 / 1.356 GB, free: 6.219 MB / 1.045 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.0005705/0.3429, allocations: 318.1 kB / 1.356 GB, free: 5.875 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3429, allocations: 12.03 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.3429, allocations: 8.891 kB / 1.356 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3431, allocations: 130.4 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3431, allocations: 8.375 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3431, allocations: 4.375 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.3435, allocations: 127.8 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3435, allocations: 192 / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.3435, allocations: 15.94 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3435, allocations: 0 / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.3439, allocations: 127.8 kB / 1.357 GB, free: 5.414 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.3445, allocations: 407.9 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.3448, allocations: 89.14 kB / 1.357 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.345, allocations: 61.66 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.345, allocations: 4 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.345, allocations: 34.55 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.345, allocations: 0 / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0006325/0.3456, allocations: 193.6 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3457, allocations: 77.11 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3458, allocations: 125.8 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3458, allocations: 29.7 kB / 1.358 GB, free: 4.293 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.3459, allocations: 92.08 kB / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3459, allocations: 11.95 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.3459, allocations: 9.719 kB / 1.358 GB, free: 4.172 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3461, allocations: 326.8 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.3462, allocations: 51.92 kB / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3464, allocations: 61.64 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.3467, allocations: 113.6 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3467, allocations: 0 / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003639/0.3471, allocations: 133.5 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3471, allocations: 12.06 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3471, allocations: 0 / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3471, allocations: 0 / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3473, allocations: 19.97 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3473, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.3474, allocations: 24.22 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3474, allocations: 4 kB / 1.358 GB, free: 3.414 MB / 1.045 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.492e-05/0.3475, allocations: 126.5 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.3475, allocations: 3.953 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.3475, allocations: 15.41 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3475, allocations: 0 / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3475, allocations: 0 / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3475, allocations: 3.938 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3478, allocations: 156.7 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3478, allocations: 4 kB / 1.359 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.3479, allocations: 19.97 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3479, allocations: 4 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3479, allocations: 4 kB / 1.359 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3479, allocations: 3.984 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3479, allocations: 0 / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.3483, allocations: 314.5 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.3484, allocations: 4 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3484, allocations: 3.984 kB / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3485, allocations: 11.98 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.3486, allocations: 15.86 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3486, allocations: 4 kB / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.3486, allocations: 95.27 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3486, allocations: 0 / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002667/0.3489, allocations: 8 kB / 1.359 GB, free: 2.559 MB / 1.045 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.0001114/0.349, allocations: 103.3 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.3494, allocations: 111.8 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3494, allocations: 0 / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.3496, allocations: 68.05 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.35, allocations: 9.484 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.3503, allocations: 192 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3507, allocations: 0.7001 MB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.3507, allocations: 11.56 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3507, allocations: 4 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of Templates: time 0.002446/0.3532, allocations: 0.963 MB / 1.361 GB, free: 356 kB / 1.045 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 -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_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.374280064017512] Failed to read output from testmodel.py, exit status != 0: 0.36250649800058454 0.37561883500000004 0.030350455000000002 Calling exit ...