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.0007578/0.0007578, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009747/0.001733, allocations: 440 kB / 10.41 MB, free: 284 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.0006608/0.0006608, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008662/0.001527, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08736/1.089, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.382/2.382, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2513/2.634, allocations: 146 MB / 0.8176 GB, free: 3.852 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.054e-06/2.054e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.405e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001302/0.001326, allocations: 0.7016 MB / 0.8196 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.001985, allocations: 0.8469 MB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.017e-05/0.002026, allocations: 4 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.583e-05/0.002081, allocations: 3.984 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.525e-05/0.002137, allocations: 15.86 kB / 0.8205 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.818e-05/0.002185, allocations: 11.98 kB / 0.8205 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.002276, allocations: 47.86 kB / 0.8205 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.002379, allocations: 23.97 kB / 0.8205 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.002462, allocations: 35.91 kB / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.426e-05/0.002556, allocations: 31.91 kB / 0.8206 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.002577, allocations: 4 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.002587, allocations: 4 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.002625, allocations: 15.98 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.002651, allocations: 15.94 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.543e-05/0.002737, allocations: 47.84 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.00275, allocations: 0 / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.693e-06/0.002752, allocations: 3.984 kB / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.002765, allocations: 0 / 0.8207 GB, free: 0.6914 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.0003698/0.003135, allocations: 284.3 kB / 0.821 GB, free: 396 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.003165, allocations: 12.03 kB / 0.821 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.003194, allocations: 8.922 kB / 0.821 GB, free: 376 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.003315, allocations: 125.6 kB / 0.8211 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.003323, allocations: 4.375 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.003335, allocations: 4.375 kB / 0.8211 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.003485, allocations: 96.55 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.003493, allocations: 192 / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003501, allocations: 384 / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.003507, allocations: 4.375 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.003531, allocations: 19.94 kB / 0.8212 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.003817, allocations: 275.3 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.003866, allocations: 37.16 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.003885, allocations: 9.719 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.003895, allocations: 11.98 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.003917, allocations: 34.62 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.003918, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001142/0.004032, allocations: 41.83 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.004064, allocations: 81.11 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.004122, allocations: 122.7 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.004132, allocations: 25.7 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.004166, allocations: 96.03 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.004181, allocations: 3.953 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.004205, allocations: 13.7 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.004276, allocations: 318.8 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.004288, allocations: 3.938 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.004303, allocations: 13.72 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.004332, allocations: 24.66 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.004334, allocations: 4 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.903e-05/0.004383, allocations: 41.58 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.004395, allocations: 7.984 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004399, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.004416, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.004485, allocations: 8 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.004489, allocations: 4 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.004514, allocations: 16.05 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.00452, allocations: 4 kB / 0.8224 GB, free: 14.77 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.042e-05/0.004571, allocations: 112.5 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.004592, allocations: 7.938 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.004612, allocations: 11.45 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.004614, allocations: 0 / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.004617, allocations: 4 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004619, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.004725, allocations: 77.81 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004726, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.004755, allocations: 15.98 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.00476, allocations: 0 / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.004763, allocations: 7.938 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.004768, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.004769, allocations: 3.984 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.00477, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.711e-05/0.004867, allocations: 206.8 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.004877, allocations: 7.922 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.004927, allocations: 4 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.00496, allocations: 15.92 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.004962, allocations: 4.031 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.505e-05/0.004977, allocations: 12.86 kB / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004977, allocations: 0 / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001358/0.005113, allocations: 11.95 kB / 0.8229 GB, free: 14.23 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 8.297e-05/0.005196, allocations: 80.41 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.019e-05/0.005256, allocations: 8.859 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.005264, allocations: 8 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.005291, allocations: 20.98 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.005517, allocations: 67.39 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.005905, allocations: 175.9 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.005942, allocations: 63.34 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.005965, allocations: 4 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.006022, allocations: 51.56 kB / 0.8233 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of SimCode: time 6.92e-07/0.006022, allocations: 4 kB / 0.8233 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.002391/0.008414, allocations: 0.8092 MB / 0.8241 GB, free: 12.88 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.182519664987922]