Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.002044/0.002044, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002335/0.002335, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.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 3.255/3.255, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [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.002147/0.002147, allocations: 75.97 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3621, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002008/0.3641, allocations: 0.7139 MB / 1.355 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3652, allocations: 0.8281 MB / 1.356 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.3652, allocations: 0 / 1.356 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.3652, allocations: 7.922 kB / 1.356 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.3653, allocations: 7.938 kB / 1.356 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.103e-05/0.3654, allocations: 11.98 kB / 1.356 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3655, allocations: 47.8 kB / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3656, allocations: 11.97 kB / 1.356 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.3656, allocations: 19.98 kB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.3657, allocations: 23.86 kB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3657, allocations: 4 kB / 1.356 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.3657, allocations: 4 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.3657, allocations: 4 kB / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.3658, allocations: 27.86 kB / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.3659, allocations: 39.81 kB / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3659, allocations: 0 / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3659, allocations: 0 / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3659, allocations: 0 / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005683/0.3665, allocations: 294.2 kB / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3665, allocations: 12.02 kB / 1.356 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3665, allocations: 4.938 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3667, allocations: 122.4 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3667, allocations: 384 / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3667, allocations: 4.375 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.3669, allocations: 70.22 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3669, allocations: 192 / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.367, allocations: 3.938 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.367, allocations: 0 / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.3672, allocations: 63.92 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3676, allocations: 243.9 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.3678, allocations: 54.48 kB / 1.357 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.368, allocations: 44.91 kB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.368, allocations: 0 / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.368, allocations: 30.56 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.368, allocations: 4 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005115/0.3685, allocations: 129.5 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.3686, allocations: 51.41 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.3687, allocations: 109.8 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3687, allocations: 29.7 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.3688, allocations: 84.14 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3688, allocations: 11.91 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.3688, allocations: 17.66 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.369, allocations: 318.8 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3691, allocations: 27.97 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3693, allocations: 35.95 kB / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3695, allocations: 64.8 kB / 1.358 GB, free: 4.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3695, allocations: 7.938 kB / 1.358 GB, free: 4.242 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000303/0.3698, allocations: 105.5 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3699, allocations: 4 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3699, allocations: 0 / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3699, allocations: 336 / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.37, allocations: 15.98 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.37, allocations: 0 / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.3701, allocations: 15.98 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3701, allocations: 0 / 1.358 GB, free: 4.098 MB / 1.045 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 (3): * Single equations (assignments): 3 * 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 0.0001036/0.3702, allocations: 126.4 kB / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3702, allocations: 7.938 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.3702, allocations: 8 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3702, allocations: 4 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3702, allocations: 0 / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3702, allocations: 3.938 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3704, allocations: 144.6 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3704, allocations: 0 / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.3705, allocations: 15.97 kB / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3705, allocations: 8 kB / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3705, allocations: 0 / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3705, allocations: 0 / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3705, allocations: 0 / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.3709, allocations: 195.4 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.3709, allocations: 11.95 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3709, allocations: 3.984 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.371, allocations: 7.984 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.3711, allocations: 4 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3711, allocations: 0 / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.3711, allocations: 95.56 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3711, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000212/0.3714, allocations: 4 kB / 1.358 GB, free: 3.398 MB / 1.045 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 (3): * Single equations (assignments): 3 * 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 0.0001392/0.3715, allocations: 110.1 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.3718, allocations: 67.86 kB / 1.359 GB, free: 3.219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3718, allocations: 0 / 1.359 GB, free: 3.219 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.372, allocations: 35.95 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3723, allocations: 11.94 kB / 1.359 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.3726, allocations: 143.3 kB / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.373, allocations: 0.6807 MB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.373, allocations: 7.438 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.373, allocations: 0 / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of Templates: time 0.002318/0.3753, allocations: 0.7545 MB / 1.36 GB, free: 1.539 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 11.386839932005387]