Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7629 GB, free: 15.33 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.88 kB / 1.107 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232/1.234, allocations: 168.7 MB / 1.272 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002106/1.236, allocations: 0.7111 MB / 1.273 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001054/1.238, allocations: 0.8217 MB / 1.274 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/1.238, allocations: 0.75 kB / 1.274 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/1.238, allocations: 0.5625 kB / 1.274 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/1.238, allocations: 10.19 kB / 1.274 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/1.238, allocations: 14.83 kB / 1.274 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000108/1.238, allocations: 42.36 kB / 1.274 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/1.238, allocations: 9.25 kB / 1.274 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/1.238, allocations: 13.44 kB / 1.274 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/1.238, allocations: 22.61 kB / 1.274 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/1.238, allocations: 7.594 kB / 1.274 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/1.238, allocations: 4.25 kB / 1.274 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/1.238, allocations: 14.75 kB / 1.274 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/1.238, allocations: 13.59 kB / 1.274 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/1.238, allocations: 47.2 kB / 1.274 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.238, allocations: 0.75 kB / 1.274 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.238, allocations: 3.938 kB / 1.274 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.14e-06/1.238, allocations: 0 / 1.274 GB, free: 6.953 MB / 0.9981 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.0005583/1.239, allocations: 365.3 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.239, allocations: 8.969 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/1.239, allocations: 7.141 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.239, allocations: 172.8 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/1.239, allocations: 2.344 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/1.239, allocations: 5.359 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/1.24, allocations: 70.53 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.24, allocations: 1.031 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/1.24, allocations: 7.938 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.24, allocations: 0.9375 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/1.24, allocations: 66.05 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/1.24, allocations: 271.4 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/1.24, allocations: 57.17 kB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/1.241, allocations: 40.52 kB / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/1.241, allocations: 0 / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/1.241, allocations: 32.69 kB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/1.241, allocations: 0 / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005617/1.241, allocations: 132.9 kB / 1.275 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/1.241, allocations: 52.34 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/1.241, allocations: 107.9 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/1.241, allocations: 26.73 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/1.241, allocations: 94.16 kB / 1.275 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/1.241, allocations: 9.875 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/1.241, allocations: 17.44 kB / 1.275 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/1.241, allocations: 314 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.242, allocations: 31.11 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/1.242, allocations: 31.36 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/1.242, allocations: 74.8 kB / 1.276 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.242, allocations: 3.938 kB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002962/1.242, allocations: 96.61 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.242, allocations: 8.688 kB / 1.276 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.242, allocations: 4.906 kB / 1.276 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.242, allocations: 0 / 1.276 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/1.242, allocations: 15.53 kB / 1.276 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.242, allocations: 0 / 1.276 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/1.243, allocations: 19.47 kB / 1.276 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/1.243, allocations: 0.875 kB / 1.276 GB, free: 5.168 MB / 0.9981 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 6.069e-05/1.243, allocations: 113.9 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/1.243, allocations: 6.547 kB / 1.276 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/1.243, allocations: 109.5 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.243, allocations: 5.125 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.243, allocations: 0 / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.243, allocations: 0.5625 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/1.243, allocations: 170 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.243, allocations: 0.7031 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/1.243, allocations: 20.66 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.243, allocations: 3.984 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/1.243, allocations: 0 / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.243, allocations: 5.562 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.243, allocations: 0 / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/1.244, allocations: 206.7 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/1.244, allocations: 78.77 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/1.244, allocations: 2.75 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.244, allocations: 9.469 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/1.244, allocations: 4.781 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/1.244, allocations: 0.6562 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.889e-05/1.244, allocations: 88.73 kB / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.244, allocations: 0 / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002137/1.244, allocations: 9.875 kB / 1.277 GB, free: 4.441 MB / 0.9981 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.0001578/1.244, allocations: 102.8 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003476/1.245, allocations: 67.23 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.245, allocations: 0.875 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/1.245, allocations: 40.58 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/1.245, allocations: 12.28 kB / 1.277 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/1.245, allocations: 144.2 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/1.246, allocations: 0.6832 MB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.003e-05/1.246, allocations: 1.375 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/1.246, allocations: 13.53 kB / 1.278 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.246, allocations: 0 / 1.278 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of Templates: time 0.003508/1.249, allocations: 0.6825 MB / 1.278 GB, free: 3.422 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.797060980461538]