Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.002571/0.002571, allocations: 77.23 kB / 19.76 MB, free: 2.035 MB / 14.72 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.002575/0.002575, allocations: 160.1 kB / 23.01 MB, free: 4.938 MB / 14.72 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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 2.874/2.874, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9727/0.9748, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002054/0.9769, allocations: 0.6713 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.9779, allocations: 0.8729 MB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.9779, allocations: 0 / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.9779, allocations: 0 / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.978, allocations: 5.781 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.9782, allocations: 9.219 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.9783, allocations: 26.92 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.9784, allocations: 9.469 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.9784, allocations: 4.047 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.9785, allocations: 18.22 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.9785, allocations: 5.688 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.9785, allocations: 1.562 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.9785, allocations: 6.375 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.9785, allocations: 6.938 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.907e-05/0.9786, allocations: 23.77 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9786, allocations: 1.219 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9786, allocations: 0 / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.9786, allocations: 0 / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004011/0.979, allocations: 255.6 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.9791, allocations: 9.781 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.9791, allocations: 11.05 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.9792, allocations: 114.7 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.9792, allocations: 384 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.9792, allocations: 1.625 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.9794, allocations: 53.8 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.9794, allocations: 192 / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.9794, allocations: 3.938 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.9794, allocations: 1.125 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.9796, allocations: 37.8 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.9799, allocations: 189.5 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.98, allocations: 36.59 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.9801, allocations: 23.73 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.9801, allocations: 4.594 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.9802, allocations: 32.17 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.9802, allocations: 3.984 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003372/0.9805, allocations: 88.48 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.9805, allocations: 52.2 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.563e-05/0.9806, allocations: 101.6 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.9806, allocations: 25.7 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.9806, allocations: 90.25 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.9806, allocations: 5.266 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.9807, allocations: 16.55 kB / 1.189 GB, free: 13.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.9807, allocations: 313.1 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.9808, allocations: 19.77 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.9809, allocations: 17.45 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.981, allocations: 37.56 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.981, allocations: 0 / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.9812, allocations: 71.91 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.9812, allocations: 8.5 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.9812, allocations: 1.219 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.9812, allocations: 0.6562 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.9813, allocations: 13.31 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.9813, allocations: 0 / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.9814, allocations: 5.562 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.9814, allocations: 1.953 kB / 1.19 GB, free: 13.56 MB / 1.076 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 (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 4.42e-05/0.9814, allocations: 112.9 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.9814, allocations: 5.062 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.9815, allocations: 9.109 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.9815, allocations: 0 / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9815, allocations: 0.7031 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9815, allocations: 4.812 kB / 1.19 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.394e-05/0.9816, allocations: 104.9 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.9816, allocations: 0 / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.9816, allocations: 9.141 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.9816, allocations: 3.938 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.9816, allocations: 1.766 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9816, allocations: 4 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9816, allocations: 4.844 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.9818, allocations: 167.5 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-06/0.9818, allocations: 5.312 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.9819, allocations: 1.688 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.9819, allocations: 5.688 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.982, allocations: 3.172 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.982, allocations: 1.125 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.982, allocations: 84.02 kB / 1.19 GB, free: 13.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.982, allocations: 5.094 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002185/0.9822, allocations: 3.625 kB / 1.19 GB, free: 13.05 MB / 1.076 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 (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.627e-05/0.9823, allocations: 92.25 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.9825, allocations: 38.72 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9825, allocations: 1.094 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.9826, allocations: 19.33 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.9829, allocations: 9.641 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.9832, allocations: 101.1 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.817e-05/0.9832, allocations: 63.06 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.9832, allocations: 2.734 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.9833, allocations: 9.688 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.9833, allocations: 0 / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of Templates: time 0.002869/0.9861, allocations: 461.7 kB / 1.191 GB, free: 12.68 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.149611902073957]