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.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.001963/0.001963, allocations: 113.8 kB / 17.61 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.002036/0.002036, allocations: 186 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.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.034/3.034, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.00205/0.00205, allocations: 71.84 kB / 1.136 GB, free: 12.39 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351/1.353, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002691/1.356, allocations: 0.7099 MB / 1.306 GB, free: 33.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001258/1.357, allocations: 0.8115 MB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/1.357, allocations: 0 / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/1.357, allocations: 3.938 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.567e-05/1.357, allocations: 10.05 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/1.357, allocations: 11.23 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/1.357, allocations: 47.27 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/1.358, allocations: 17.67 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/1.358, allocations: 13.55 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/1.358, allocations: 24.2 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/1.358, allocations: 6.906 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/1.358, allocations: 2.719 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/1.358, allocations: 10.53 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/1.358, allocations: 14.16 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/1.358, allocations: 43.59 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.358, allocations: 0 / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/1.358, allocations: 0 / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.358, allocations: 4 kB / 1.307 GB, free: 32.29 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.0006071/1.359, allocations: 367.4 kB / 1.308 GB, free: 31.92 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.359, allocations: 11.16 kB / 1.308 GB, free: 31.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/1.359, allocations: 7.484 kB / 1.308 GB, free: 31.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/1.359, allocations: 170.5 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/1.359, allocations: 384 / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/1.359, allocations: 3.219 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/1.359, allocations: 80.58 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.359, allocations: 192 / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/1.359, allocations: 3.938 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.359, allocations: 0 / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/1.36, allocations: 59.92 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/1.36, allocations: 272.6 kB / 1.308 GB, free: 31.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/1.36, allocations: 56.92 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/1.36, allocations: 39.56 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/1.36, allocations: 0 / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.36, allocations: 38.56 kB / 1.308 GB, free: 31.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/1.36, allocations: 0 / 1.308 GB, free: 31.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0006787/1.361, allocations: 124.5 kB / 1.308 GB, free: 31.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/1.361, allocations: 54.09 kB / 1.308 GB, free: 31.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/1.361, allocations: 114.4 kB / 1.309 GB, free: 31.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.361, allocations: 25.7 kB / 1.309 GB, free: 31.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/1.361, allocations: 90.03 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/1.361, allocations: 11.84 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/1.361, allocations: 16.38 kB / 1.309 GB, free: 30.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/1.361, allocations: 316.9 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/1.362, allocations: 29.56 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/1.362, allocations: 35.36 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/1.362, allocations: 71.62 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.362, allocations: 3.938 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003862/1.363, allocations: 101.7 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.363, allocations: 6.375 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.363, allocations: 3.938 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.363, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/1.363, allocations: 18.61 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.363, allocations: 3.938 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/1.363, allocations: 14.05 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/1.363, allocations: 0 / 1.309 GB, free: 30.51 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 7.876e-05/1.363, allocations: 119.5 kB / 1.309 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/1.363, allocations: 6.328 kB / 1.309 GB, free: 30.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/1.363, allocations: 102.4 kB / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.363, allocations: 2.875 kB / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.363, allocations: 0 / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.363, allocations: 4 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/1.364, allocations: 172.3 kB / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.364, allocations: 0 / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/1.364, allocations: 19.12 kB / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.364, allocations: 0 / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/1.364, allocations: 2.812 kB / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.364, allocations: 0 / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.364, allocations: 0 / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/1.364, allocations: 201.4 kB / 1.31 GB, free: 29.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/1.364, allocations: 80.58 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/1.364, allocations: 4 kB / 1.31 GB, free: 29.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.364, allocations: 11.86 kB / 1.31 GB, free: 29.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/1.364, allocations: 6.109 kB / 1.31 GB, free: 29.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/1.364, allocations: 0 / 1.31 GB, free: 29.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.3e-05/1.364, allocations: 89.03 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.364, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003506/1.365, allocations: 5.5 kB / 1.31 GB, free: 29.79 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.0002009/1.365, allocations: 110.5 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004452/1.365, allocations: 64.7 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.365, allocations: 4 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/1.366, allocations: 33.98 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/1.366, allocations: 12.12 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/1.367, allocations: 146.2 kB / 1.31 GB, free: 29.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/1.367, allocations: 0.6844 MB / 1.311 GB, free: 28.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.398e-05/1.367, allocations: 7.281 kB / 1.311 GB, free: 28.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/1.367, allocations: 10.83 kB / 1.311 GB, free: 28.84 MB / 1.061 GB Notification: Performance of SimCode: time 9.31e-07/1.367, allocations: 0 / 1.311 GB, free: 28.84 MB / 1.061 GB Notification: Performance of Templates: time 0.004398/1.371, allocations: 0.6909 MB / 1.312 GB, free: 28.76 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] 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.262715798802674]