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.000818/0.000818, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001936, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001114/0.001114, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002521, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.059/1.059, allocations: 177.1 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09267/1.151, allocations: 53.66 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.368/2.368, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2686/2.637, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|reaRep.y.[0-9,]+.",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.[0-9,]+.|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 3.984 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.858e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001076/0.001094, allocations: 0.7151 MB / 0.819 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006753/0.001769, allocations: 0.843 MB / 0.8198 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.00181, allocations: 4 kB / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.00186, allocations: 7.938 kB / 0.8198 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.001915, allocations: 3.984 kB / 0.8198 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.06e-05/0.001966, allocations: 11.98 kB / 0.8198 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.002065, allocations: 59.78 kB / 0.8199 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.002162, allocations: 11.98 kB / 0.8199 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.002251, allocations: 39.91 kB / 0.8199 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.002324, allocations: 31.95 kB / 0.82 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.002344, allocations: 4 kB / 0.82 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.002354, allocations: 4 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.002391, allocations: 19.92 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.002419, allocations: 15.94 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.52e-05/0.002504, allocations: 51.78 kB / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.002516, allocations: 0 / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002517, allocations: 0 / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.002528, allocations: 0 / 0.8201 GB, free: 1.09 MB / 0.7917 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.0003453/0.002874, allocations: 276.4 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.002904, allocations: 12.03 kB / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.002928, allocations: 8.938 kB / 0.8203 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.003047, allocations: 125.7 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.003055, allocations: 4.375 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.003064, allocations: 8.375 kB / 0.8205 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.003195, allocations: 88.58 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.003201, allocations: 192 / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.003209, allocations: 384 / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.003214, allocations: 4.375 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.003244, allocations: 15.92 kB / 0.8206 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.00351, allocations: 279.2 kB / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.766e-05/0.003558, allocations: 37.16 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.003577, allocations: 13.72 kB / 0.8209 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.003585, allocations: 8 kB / 0.8209 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.003605, allocations: 30.56 kB / 0.8209 GB, free: 80 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.003606, allocations: 0 / 0.8209 GB, free: 80 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001138/0.00372, allocations: 45.69 kB / 0.821 GB, free: 28 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.003765, allocations: 81.11 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.003825, allocations: 126.5 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.003835, allocations: 25.7 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.003868, allocations: 96.02 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.003885, allocations: 4.203 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.003915, allocations: 21.72 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.003994, allocations: 314.8 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-06/0.004003, allocations: 0 / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.00402, allocations: 17.7 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.004044, allocations: 16.55 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.004048, allocations: 8 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.708e-05/0.004095, allocations: 45.56 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.004104, allocations: 8.125 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.004109, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.004114, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.004175, allocations: 11.98 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.004177, allocations: 0 / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.0042, allocations: 8 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.004204, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 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.013e-05/0.004255, allocations: 116.6 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.004277, allocations: 11.92 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.71e-05/0.004294, allocations: 3.469 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.004297, allocations: 7.984 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.004299, allocations: 4 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.004302, allocations: 0 / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.004404, allocations: 73.88 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.004405, allocations: 0 / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.004431, allocations: 11.98 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.004439, allocations: 8 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.004442, allocations: 7.938 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.004446, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004447, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004447, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.661e-05/0.004534, allocations: 218.8 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.004543, allocations: 3.938 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.313e-05/0.004596, allocations: 11.92 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.004623, allocations: 8 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.004625, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.351e-05/0.004638, allocations: 16.84 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004638, allocations: 0 / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000141/0.004779, allocations: 11.95 kB / 0.8222 GB, free: 14.63 MB / 0.8073 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.735e-05/0.004847, allocations: 80.45 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.694e-05/0.004904, allocations: 12.8 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.004909, allocations: 4 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.004927, allocations: 12.84 kB / 0.8223 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.005117, allocations: 12 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.005498, allocations: 184.2 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.005538, allocations: 63.34 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.005557, allocations: 0 / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.005607, allocations: 51.38 kB / 0.8226 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.005607, allocations: 0 / 0.8226 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of Templates: time 0.00213/0.007737, allocations: 0.8043 MB / 0.8234 GB, free: 13.36 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146393580362201]