Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001984/0.001984, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002776/0.002776, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.777 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.591/3.591, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [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.002157/0.002157, allocations: 73.11 kB / 1.186 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4367, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002239/0.439, allocations: 0.7013 MB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.4402, allocations: 0.8319 MB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.4402, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.4403, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.4403, allocations: 11.88 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.4404, allocations: 11.98 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.4406, allocations: 43.91 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.4407, allocations: 7.984 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.4408, allocations: 19.92 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.4408, allocations: 19.92 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.4408, allocations: 4 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.4409, allocations: 4 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.4409, allocations: 7.938 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.4409, allocations: 15.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.441, allocations: 47.8 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.441, allocations: 7.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.441, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.441, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 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.000583/0.4416, allocations: 282.3 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/0.4417, allocations: 8.031 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.4417, allocations: 16.86 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4419, allocations: 106.5 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4419, allocations: 12.31 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.4419, allocations: 384 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.4422, allocations: 70.22 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4422, allocations: 4.188 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4422, allocations: 3.938 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4422, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.4425, allocations: 67.86 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.4429, allocations: 204.6 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.4432, allocations: 54.53 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.4433, allocations: 44.86 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.4434, allocations: 3.984 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4434, allocations: 34.56 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4434, allocations: 3.938 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000571/0.444, allocations: 125.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.444, allocations: 55.41 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4441, allocations: 109.8 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.4442, allocations: 25.7 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.4442, allocations: 92.08 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.4442, allocations: 7.953 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.4443, allocations: 13.72 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4444, allocations: 318.8 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.4446, allocations: 27.97 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4447, allocations: 35.97 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.445, allocations: 68.72 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.445, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003389/0.4453, allocations: 101.6 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4453, allocations: 8 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.4453, allocations: 3.984 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4454, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4455, allocations: 11.98 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4455, allocations: 4 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.4456, allocations: 15.94 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4456, allocations: 4 kB / 1.367 GB, free: 9.699 MB / 1.061 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 8.536e-05/0.4457, allocations: 106.9 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.4457, allocations: 11.94 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.4461, allocations: 109.9 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.4461, allocations: 8.031 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4461, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4461, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.4463, allocations: 117.2 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4463, allocations: 0 / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.4464, allocations: 19.92 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4464, allocations: 3.938 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.4464, allocations: 8 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4464, allocations: 0 / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4464, allocations: 0 / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.4468, allocations: 195.4 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.4468, allocations: 7.938 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.4468, allocations: 7.938 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4469, allocations: 19.98 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.447, allocations: 3.984 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.447, allocations: 0 / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.4471, allocations: 87.28 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4471, allocations: 0 / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003576/0.4474, allocations: 8 kB / 1.368 GB, free: 8.926 MB / 1.061 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.0001365/0.4476, allocations: 95.23 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.4479, allocations: 67.92 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4479, allocations: 0 / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4481, allocations: 39.91 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.4484, allocations: 7.984 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.4488, allocations: 117.6 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.316e-05/0.4489, allocations: 63.34 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.4489, allocations: 4 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.449, allocations: 11.44 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/0.449, allocations: 0 / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of Templates: time 0.00374/0.4527, allocations: 0.7509 MB / 1.369 GB, free: 7.738 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 10.067057935521007]