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.001692/0.001692, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.00216/0.00216, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.742 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 3.262/3.262, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002097/0.002097, allocations: 69.39 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001896/0.3592, allocations: 0.6596 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3605, allocations: 0.828 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.3605, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.601e-05/0.3606, allocations: 7.938 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.752e-05/0.3607, allocations: 15.91 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.809e-05/0.3607, allocations: 8 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3609, allocations: 47.91 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.361, allocations: 15.97 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.3612, allocations: 31.86 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.3612, allocations: 31.91 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.3613, allocations: 4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.3613, allocations: 4 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.3613, allocations: 31.91 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.3614, allocations: 19.86 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3615, allocations: 67.78 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3615, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3615, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3615, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 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.0007507/0.3623, allocations: 322.1 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3623, allocations: 11.97 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3623, allocations: 8.891 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.3625, allocations: 122.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3625, allocations: 4.375 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3625, allocations: 8.312 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3629, allocations: 131.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3629, allocations: 192 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3629, allocations: 3.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3629, allocations: 8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.3635, allocations: 123.8 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.3641, allocations: 376.5 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.3644, allocations: 93.09 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.3646, allocations: 65.64 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.3646, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3646, allocations: 34.56 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3646, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000684/0.3653, allocations: 197.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.3654, allocations: 77.11 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3655, allocations: 121.8 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3655, allocations: 25.7 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.3656, allocations: 92.09 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3656, allocations: 7.953 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.3657, allocations: 17.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3658, allocations: 322.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.366, allocations: 56.08 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3662, allocations: 61.59 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.3666, allocations: 113.6 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3666, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004078/0.367, allocations: 133.5 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.367, allocations: 9.406 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.367, allocations: 384 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.367, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3672, allocations: 24.03 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3672, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.3673, allocations: 19.86 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3673, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 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.000153/0.3675, allocations: 126.3 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.3675, allocations: 7.938 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.3675, allocations: 11.47 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3675, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3675, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3676, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.3678, allocations: 129.2 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3678, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.3679, allocations: 15.98 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3679, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3679, allocations: 11.88 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3679, allocations: 3.984 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3679, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.3684, allocations: 310.6 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.3684, allocations: 3.953 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3684, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3686, allocations: 15.97 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.3686, allocations: 11.98 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.3687, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.3687, allocations: 95.27 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3687, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002673/0.369, allocations: 15.97 kB / 1.332 GB, free: 11.64 MB / 1.029 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.0001237/0.3691, allocations: 99.19 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.3695, allocations: 107.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3695, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3698, allocations: 75.97 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.3701, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.3706, allocations: 188.1 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3707, allocations: 75.61 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.3707, allocations: 7.438 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3707, allocations: 3.938 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of Templates: time 0.002789/0.3735, allocations: 0.9811 MB / 1.334 GB, free: 10.05 MB / 1.029 GB " [Timeout remaining time 300] 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 -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_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.439892153954133] Failed to read output from testmodel.py, exit status != 0: 0.38207767391577363 0.39895034700000004 0.034121767000000004 Calling exit ...