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.0008391/0.0008391, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.001941, 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.0008193/0.0008193, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009744/0.001794, 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 0.9392/0.9392, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1111/1.05, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.435/2.435, allocations: 446.7 MB / 0.6745 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2557/2.691, allocations: 145.9 MB / 0.817 GB, free: 4.188 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.774e-06/1.774e-06, allocations: 0 / 0.8184 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.402e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001152/0.001166, allocations: 0.8103 MB / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007602/0.001926, allocations: 0.8858 MB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.001959, allocations: 0 / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.001985, allocations: 7.922 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.002028, allocations: 15.88 kB / 0.82 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.975e-05/0.002097, allocations: 27.91 kB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.002198, allocations: 75.77 kB / 0.8201 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.002288, allocations: 15.97 kB / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.565e-05/0.002383, allocations: 59.89 kB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.00244, allocations: 31.89 kB / 0.8203 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.002463, allocations: 4 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.002473, allocations: 8 kB / 0.8203 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.002489, allocations: 11.94 kB / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.002513, allocations: 16 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.15e-05/0.002595, allocations: 43.78 kB / 0.8203 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.002608, allocations: 4 kB / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002608, allocations: 0 / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.002619, allocations: 0 / 0.8203 GB, free: 0.7812 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004144/0.003034, allocations: 284.3 kB / 0.8206 GB, free: 488 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.003064, allocations: 12.03 kB / 0.8206 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.003093, allocations: 8.922 kB / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.003178, allocations: 125.6 kB / 0.8207 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.003201, allocations: 4.375 kB / 0.8207 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.003212, allocations: 8.375 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.00333, allocations: 74.91 kB / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003336, allocations: 192 / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.003345, allocations: 4.375 kB / 0.8208 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.00335, allocations: 4.375 kB / 0.8208 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.003386, allocations: 15.92 kB / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.003626, allocations: 188.1 kB / 0.821 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.003698, allocations: 42.55 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.003722, allocations: 20.84 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.003734, allocations: 0 / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.003751, allocations: 34.56 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.003752, allocations: 0 / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001172/0.003869, allocations: 61.55 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.003894, allocations: 55.41 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.003948, allocations: 118.7 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.003958, allocations: 25.7 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.004117, allocations: 96.06 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.004139, allocations: 27.8 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.004169, allocations: 17.7 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.004233, allocations: 318.8 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.004248, allocations: 4 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.396e-05/0.004262, allocations: 7.984 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.004302, allocations: 37.16 kB / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.004303, allocations: 0 / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.828e-05/0.004362, allocations: 49.67 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.004373, allocations: 7.938 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.004378, allocations: 4 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.004384, allocations: 4 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.004465, allocations: 11.98 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004467, allocations: 4 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.004491, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.004497, allocations: 4 kB / 0.8219 GB, free: 14.97 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 4.941e-05/0.004546, allocations: 121.8 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.00456, allocations: 4 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.00458, allocations: 12.38 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.004582, allocations: 4.109 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.004584, allocations: 7.938 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004587, allocations: 0 / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.426e-05/0.004671, allocations: 81.86 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004672, allocations: 0 / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.004712, allocations: 19.98 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.004721, allocations: 11.89 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.004722, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.004727, allocations: 3.938 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004727, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.004728, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.004808, allocations: 151.5 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.004817, allocations: 12 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.004856, allocations: 8.109 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.004896, allocations: 15.92 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.004899, allocations: 0 / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.646e-05/0.004916, allocations: 24.83 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004916, allocations: 0 / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001129/0.005029, allocations: 12 kB / 0.8224 GB, free: 14.44 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 6.241e-05/0.005091, allocations: 76.42 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.85e-05/0.00516, allocations: 32.84 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.005164, allocations: 0 / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.005195, allocations: 28.78 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.005329, allocations: 15.98 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.005696, allocations: 168.3 kB / 0.8227 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.122e-05/0.005728, allocations: 59.36 kB / 0.8228 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.005759, allocations: 11.98 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.005815, allocations: 55.38 kB / 0.8228 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.005816, allocations: 0 / 0.8228 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of Templates: time 0.002598/0.008414, allocations: 1.418 MB / 0.8242 GB, free: 12.54 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.101748216897249]