Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001234/0.001234, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002919, 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.001059/0.001059, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002456, 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 0.9557/0.9557, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0879/1.044, 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.401/2.401, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2543/2.655, allocations: 146 MB / 0.8176 GB, free: 3.801 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.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.293e-05, allocations: 2.312 kB / 0.819 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001472/0.001495, allocations: 0.8065 MB / 0.8198 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.002255, allocations: 0.882 MB / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.002292, allocations: 0 / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.00232, allocations: 7.875 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.002373, allocations: 23.86 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.548e-05/0.002458, allocations: 23.91 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.002545, allocations: 71.83 kB / 0.8208 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.00264, allocations: 19.97 kB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.002745, allocations: 55.89 kB / 0.8208 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.00281, allocations: 27.91 kB / 0.8209 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.002833, allocations: 4 kB / 0.8209 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.002848, allocations: 8 kB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.002868, allocations: 11.94 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.00289, allocations: 15.94 kB / 0.8209 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.003005, allocations: 51.77 kB / 0.821 GB, free: 396 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.797e-05/0.003023, allocations: 4 kB / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003024, allocations: 0 / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.003043, allocations: 4 kB / 0.821 GB, free: 388 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004404/0.003484, allocations: 284.3 kB / 0.8212 GB, free: 76 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.003524, allocations: 8.031 kB / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.003562, allocations: 4.938 kB / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.003694, allocations: 121.7 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.003716, allocations: 4.375 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.003732, allocations: 8.312 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.003891, allocations: 74.92 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.003897, allocations: 192 / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.003906, allocations: 4.375 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.003911, allocations: 4.375 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.655e-05/0.003947, allocations: 19.92 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.004211, allocations: 188.1 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.099e-05/0.004292, allocations: 42.55 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.004315, allocations: 16.86 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.004329, allocations: 7.984 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.00435, allocations: 34.55 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.00435, allocations: 0 / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001326/0.004483, allocations: 61.56 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.004508, allocations: 51.41 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.004568, allocations: 130.6 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.00458, allocations: 25.7 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.00461, allocations: 92.08 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.004632, allocations: 23.78 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.00466, allocations: 17.72 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.004738, allocations: 322.8 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.00476, allocations: 4 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.004778, allocations: 8.359 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.004822, allocations: 32.84 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004824, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.847e-05/0.004892, allocations: 49.62 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.004905, allocations: 11.94 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.004909, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.004922, allocations: 4 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.005015, allocations: 19.97 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.005018, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.005046, allocations: 4 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.00505, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.547e-05/0.005106, allocations: 113.8 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.005123, allocations: 7.984 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.005145, allocations: 16.48 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005147, allocations: 3.938 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.005149, allocations: 0 / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005151, allocations: 4 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.454e-05/0.005245, allocations: 81.88 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.005247, allocations: 3.984 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.005294, allocations: 23.92 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.005302, allocations: 7.891 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-06/0.005303, allocations: 0 / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005309, allocations: 3.938 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.00531, allocations: 4 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00531, allocations: 0 / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.005414, allocations: 147.6 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.005425, allocations: 12.12 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.005464, allocations: 4 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.005508, allocations: 15.91 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.005512, allocations: 4 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.005531, allocations: 20.83 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005531, allocations: 0 / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001197/0.005651, allocations: 12 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 9.609e-05/0.005747, allocations: 80.36 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.175e-05/0.005829, allocations: 32.84 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.005833, allocations: 4 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.005874, allocations: 28.78 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.006045, allocations: 50.89 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.006542, allocations: 168.3 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.006587, allocations: 55.36 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.316e-05/0.00663, allocations: 11.98 kB / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.006713, allocations: 63.36 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of SimCode: time 1.422e-06/0.006715, allocations: 0 / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.003167/0.009881, allocations: 1.306 MB / 0.8248 GB, free: 12.2 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.175710034556687]