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.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.00181/0.001815, allocations: 107 kB / 17.08 MB, free: 5.965 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.002063/0.002063, allocations: 196.2 kB / 20.03 MB, free: 3.035 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.525/1.525, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.073/3.073, allocations: 490 MB / 0.7695 GB, free: 3.043 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 63.91 kB / 1.104 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 164 MB / 1.264 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001892/1.079, allocations: 0.6553 MB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009323/1.08, allocations: 0.7892 MB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/1.08, allocations: 1.188 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/1.08, allocations: 8.734 kB / 1.265 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.214e-05/1.081, allocations: 7.703 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.84e-05/1.081, allocations: 7.406 kB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/1.081, allocations: 62.44 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/1.081, allocations: 19.88 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/1.081, allocations: 23.69 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/1.081, allocations: 36.97 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/1.081, allocations: 3.719 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/1.081, allocations: 4.312 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/1.081, allocations: 21.92 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/1.081, allocations: 25.14 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/1.081, allocations: 68.66 kB / 1.266 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.081, allocations: 0 / 1.266 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.081, allocations: 0.8125 kB / 1.266 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.081, allocations: 0 / 1.266 GB, free: 6.184 MB / 0.9981 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.0005405/1.082, allocations: 396.7 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.082, allocations: 9.344 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/1.082, allocations: 8.672 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.082, allocations: 191.7 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/1.082, allocations: 1.938 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/1.082, allocations: 3.875 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/1.083, allocations: 140.1 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.083, allocations: 5.641 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.083, allocations: 3.938 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.083, allocations: 2.062 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/1.083, allocations: 127.5 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/1.084, allocations: 431.1 kB / 1.267 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/1.084, allocations: 90.64 kB / 1.267 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/1.084, allocations: 66.58 kB / 1.267 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/1.084, allocations: 0 / 1.267 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/1.084, allocations: 37.2 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/1.084, allocations: 0 / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0007048/1.085, allocations: 191.8 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/1.085, allocations: 82.05 kB / 1.267 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/1.085, allocations: 119.9 kB / 1.267 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/1.085, allocations: 25.7 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/1.085, allocations: 98.25 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/1.085, allocations: 5.922 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/1.085, allocations: 17 kB / 1.268 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.969e-05/1.085, allocations: 322.9 kB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/1.085, allocations: 51.23 kB / 1.268 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/1.085, allocations: 65.58 kB / 1.268 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/1.086, allocations: 106.7 kB / 1.268 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.086, allocations: 4.594 kB / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004104/1.086, allocations: 145.8 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.086, allocations: 5.125 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/1.086, allocations: 1.062 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.086, allocations: 1.594 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/1.086, allocations: 18.08 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/1.086, allocations: 0.8438 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/1.087, allocations: 19.28 kB / 1.268 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/1.087, allocations: 0.6562 kB / 1.268 GB, free: 4.141 MB / 0.9981 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 7.46e-05/1.087, allocations: 137.9 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/1.087, allocations: 2.375 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/1.087, allocations: 11.05 kB / 1.268 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.087, allocations: 0.8125 kB / 1.268 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.087, allocations: 5.281 kB / 1.268 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.087, allocations: 5.719 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/1.087, allocations: 184.8 kB / 1.269 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.087, allocations: 0 / 1.269 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/1.087, allocations: 22.84 kB / 1.269 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.087, allocations: 0.8125 kB / 1.269 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.087, allocations: 5.781 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.087, allocations: 0.8125 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.087, allocations: 0.8125 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/1.088, allocations: 310.8 kB / 1.269 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/1.088, allocations: 83.92 kB / 1.269 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/1.088, allocations: 1.328 kB / 1.269 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/1.088, allocations: 15.75 kB / 1.269 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/1.088, allocations: 14.95 kB / 1.269 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/1.088, allocations: 0.6875 kB / 1.269 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.7e-05/1.088, allocations: 94.28 kB / 1.269 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.088, allocations: 4.031 kB / 1.269 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002653/1.088, allocations: 8.625 kB / 1.269 GB, free: 3.371 MB / 0.9981 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.0001331/1.088, allocations: 99.59 kB / 1.269 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004639/1.089, allocations: 114.3 kB / 1.269 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.089, allocations: 5.094 kB / 1.269 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/1.089, allocations: 63.33 kB / 1.269 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/1.089, allocations: 6.859 kB / 1.269 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/1.09, allocations: 201.1 kB / 1.27 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/1.09, allocations: 0.6984 MB / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/1.09, allocations: 9.562 kB / 1.27 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.09, allocations: 0 / 1.27 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of Templates: time 0.002775/1.093, allocations: 0.9606 MB / 1.271 GB, free: 2.312 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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.740976981003769] Failed to read output from testmodel.py, exit status != 0: 1.1003064890392125 1.113581942 0.029408167000000002 Calling exit ...