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.0009317/0.0009317, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001635/0.001635, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8976/0.8976, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.765/1.765, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.224e-06/2.224e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.85e-05, allocations: 6.219 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001294/0.001322, allocations: 0.705 MB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.002099, allocations: 0.8276 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.00214, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.002169, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.002238, allocations: 11.88 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.002354, allocations: 11.98 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.002438, allocations: 47.84 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.002539, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.002616, allocations: 23.97 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.002659, allocations: 23.91 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.002685, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.002695, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.002711, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.002734, allocations: 15.92 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.002822, allocations: 35.94 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.002824, allocations: 0 / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.513e-06/0.002825, allocations: 4 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.002829, allocations: 0 / 1.003 GB, free: 11.23 MB / 0.9636 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.0003962/0.003226, allocations: 294.2 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.003265, allocations: 8.75 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.003297, allocations: 4.891 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.00338, allocations: 117.7 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.003394, allocations: 4.375 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.003404, allocations: 384 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.00357, allocations: 70.2 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.003578, allocations: 4.188 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.003588, allocations: 384 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.003592, allocations: 384 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.003736, allocations: 67.88 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.004024, allocations: 208.6 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.004146, allocations: 54.48 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.004223, allocations: 44.91 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.004243, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.004264, allocations: 34.56 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 6.62e-07/0.004265, allocations: 0 / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003154/0.00458, allocations: 133.6 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.004608, allocations: 51.41 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/0.004671, allocations: 113.8 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.004681, allocations: 29.7 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.004718, allocations: 88.09 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.004736, allocations: 7.891 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.004761, allocations: 13.72 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.004839, allocations: 326.8 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.004915, allocations: 27.97 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.004982, allocations: 39.98 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.005116, allocations: 64.8 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.005118, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001657/0.005284, allocations: 105.5 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.005298, allocations: 11.94 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.005303, allocations: 4 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005315, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.005394, allocations: 11.98 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.005398, allocations: 320 / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.005434, allocations: 11.98 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.005441, allocations: 0 / 1.005 GB, free: 9.137 MB / 0.9636 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 5.562e-05/0.005496, allocations: 117.8 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.005509, allocations: 8 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.005706, allocations: 109.5 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005708, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005711, allocations: 4 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005714, allocations: 0 / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.531e-05/0.005799, allocations: 105.3 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.005801, allocations: 8 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.005847, allocations: 15.98 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005848, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.005855, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.005857, allocations: 11.88 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.005858, allocations: 3.984 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.006045, allocations: 191.4 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.006051, allocations: 4 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.006062, allocations: 0 / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.006115, allocations: 19.92 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.006152, allocations: 7.922 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.006155, allocations: 0 / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.006187, allocations: 99.25 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006187, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001454/0.006333, allocations: 4 kB / 1.005 GB, free: 8.371 MB / 0.9636 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 8.677e-05/0.006419, allocations: 95.25 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.006609, allocations: 71.92 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00661, allocations: 0 / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.006683, allocations: 35.95 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.006898, allocations: 7.938 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.007229, allocations: 163.5 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.007274, allocations: 67.34 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.007309, allocations: 12.48 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/0.00731, allocations: 4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of Templates: time 0.001569/0.008879, allocations: 0.7612 MB / 1.006 GB, free: 7.109 MB / 0.9636 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: 6.4622638979926705]