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.0008264/0.0008264, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001029/0.001029, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8733/0.8733, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724/1.724, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.547e-05, allocations: 10.22 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001041/0.001056, allocations: 0.6351 MB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007305/0.001787, allocations: 0.8276 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.001844, allocations: 4 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.001955, allocations: 7.938 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.002062, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.885e-05/0.002131, allocations: 11.98 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.002246, allocations: 55.83 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.002399, allocations: 19.92 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.002473, allocations: 31.92 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.002548, allocations: 31.89 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.002571, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.002579, allocations: 7.938 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.00262, allocations: 27.91 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.002648, allocations: 12 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.002741, allocations: 71.83 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002744, allocations: 3.984 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.12e-07/0.002744, allocations: 4 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.002747, allocations: 0 / 1.003 GB, free: 11.23 MB / 0.9636 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.0005105/0.003258, allocations: 310.1 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.003291, allocations: 12.75 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.003318, allocations: 4.891 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.003447, allocations: 125.7 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.003455, allocations: 4.375 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.003466, allocations: 16.25 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.003674, allocations: 131.9 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.003682, allocations: 192 / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.003693, allocations: 4.375 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.003698, allocations: 384 / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.003887, allocations: 135.7 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.004244, allocations: 364.6 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.004374, allocations: 89.03 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.272e-05/0.004467, allocations: 66.48 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.004477, allocations: 3.938 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004496, allocations: 38.5 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.004497, allocations: 0 / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003457/0.004842, allocations: 185.5 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.004878, allocations: 85.05 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/0.004942, allocations: 126.1 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.004952, allocations: 25.7 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.004992, allocations: 96.08 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.005008, allocations: 7.953 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.005034, allocations: 13.72 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.005104, allocations: 318.8 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.005191, allocations: 51.92 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.005284, allocations: 65.66 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.00545, allocations: 113.5 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005451, allocations: 3.938 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.005638, allocations: 137.6 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.005648, allocations: 4 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.005652, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.005663, allocations: 4 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.005737, allocations: 15.97 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.005741, allocations: 4 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.00578, allocations: 11.98 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.005785, allocations: 3.938 kB / 1.005 GB, free: 8.496 MB / 0.9636 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 5.822e-05/0.005844, allocations: 133.8 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.005863, allocations: 4 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.005883, allocations: 19.39 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.005884, allocations: 0 / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.005889, allocations: 0 / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.00589, allocations: 0 / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.006008, allocations: 125.2 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006009, allocations: 4 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.00605, allocations: 15.97 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006052, allocations: 8.375 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006058, allocations: 0 / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.006059, allocations: 0 / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00606, allocations: 0 / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.006298, allocations: 322.5 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.006305, allocations: 7.938 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.006315, allocations: 4 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.006389, allocations: 20.02 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.006424, allocations: 3.984 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.006428, allocations: 4 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.006462, allocations: 99.25 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006462, allocations: 0 / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001757/0.006637, allocations: 12 kB / 1.006 GB, free: 7.668 MB / 0.9636 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 6.259e-05/0.0067, allocations: 91.25 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.006918, allocations: 115.8 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.006921, allocations: 4 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.007015, allocations: 63.91 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.007246, allocations: 7.938 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.007529, allocations: 195.5 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.448e-05/0.007583, allocations: 79.33 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.007612, allocations: 8.5 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/0.007612, allocations: 4 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of Templates: time 0.001584/0.009196, allocations: 0.9889 MB / 1.007 GB, free: 6.062 MB / 0.9636 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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_' 170 | 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_' 178 | 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: 4.659194270148873] Failed to read output from testmodel.py, exit status != 0: 0.013383409008383751 0.02137837 0.017002654000000002 Calling exit ...