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.001786/0.001786, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.002132/0.002132, allocations: 162.7 kB / 22.46 MB, free: 5.375 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.888/2.888, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 1 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.584e-05, allocations: 2.281 kB / 1 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002025/0.002061, allocations: 0.7026 MB / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003454, allocations: 0.8276 MB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.003506, allocations: 0 / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.003536, allocations: 3.938 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.003626, allocations: 15.92 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.003745, allocations: 7.984 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.003856, allocations: 51.84 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003967, allocations: 4 kB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.004065, allocations: 19.97 kB / 1.002 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.004123, allocations: 19.92 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.004145, allocations: 7.938 kB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.004159, allocations: 8 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.004181, allocations: 7.984 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.004219, allocations: 15.92 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.004335, allocations: 39.88 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004337, allocations: 0 / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004338, allocations: 0 / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004341, allocations: 0 / 1.002 GB, free: 5.43 MB / 0.9512 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.0005732/0.004915, allocations: 286.2 kB / 1.002 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.004971, allocations: 12.03 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.00501, allocations: 8.891 kB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.005132, allocations: 109.8 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.005147, allocations: 384 / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.00516, allocations: 4.375 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.005444, allocations: 70.2 kB / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.005455, allocations: 192 / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.005469, allocations: 384 / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005474, allocations: 4.312 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.005784, allocations: 75.86 kB / 1.002 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.006188, allocations: 212.6 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.006405, allocations: 54.48 kB / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.006567, allocations: 40.91 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.006593, allocations: 4 kB / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.006633, allocations: 38.44 kB / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.006635, allocations: 0 / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005995/0.007234, allocations: 133.5 kB / 1.003 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.007301, allocations: 55.41 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.00741, allocations: 109.8 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.007431, allocations: 29.7 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.007509, allocations: 88.14 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.00753, allocations: 3.953 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.007573, allocations: 13.72 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.007741, allocations: 318.8 kB / 1.003 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.007896, allocations: 31.97 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.008044, allocations: 35.89 kB / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.008338, allocations: 72.78 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.00834, allocations: 0 / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003511/0.008692, allocations: 97.58 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.008713, allocations: 7.938 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008719, allocations: 4 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.138e-05/0.00875, allocations: 336 / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.008896, allocations: 15.98 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.008904, allocations: 0 / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.008992, allocations: 11.98 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.009006, allocations: 3.984 kB / 1.004 GB, free: 3.34 MB / 0.9512 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.0001257/0.009132, allocations: 117.8 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.009164, allocations: 0 / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.009575, allocations: 117.5 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009578, allocations: 0 / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.009582, allocations: 0 / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.009587, allocations: 0 / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.009767, allocations: 113.3 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.009769, allocations: 0 / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.009868, allocations: 15.98 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.009875, allocations: 4 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.009884, allocations: 0 / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.009891, allocations: 11.86 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009892, allocations: 0 / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.01033, allocations: 199.4 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.01033, allocations: 0 / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.01035, allocations: 0 / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.01047, allocations: 23.91 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.01052, allocations: 4 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.01053, allocations: 4 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.01059, allocations: 87.27 kB / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01059, allocations: 3.938 kB / 1.004 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002313/0.01082, allocations: 11.95 kB / 1.004 GB, free: 2.574 MB / 0.9512 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.0001755/0.011, allocations: 99.17 kB / 1.005 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.01138, allocations: 79.86 kB / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01138, allocations: 0 / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.01154, allocations: 35.95 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01188, allocations: 6.188 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.01227, allocations: 124.8 kB / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.01236, allocations: 71.28 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.0124, allocations: 7.984 kB / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.01243, allocations: 8.5 kB / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.01243, allocations: 0 / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of Templates: time 0.003549/0.01598, allocations: 0.7165 MB / 1.006 GB, free: 1.383 MB / 0.9512 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: 8.427611280232668]