Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001636/0.001636, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001957/0.001957, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.737/1.737, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 443.4 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.88 kB / 1.059 GB, free: 332 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3769, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002184/0.3791, allocations: 0.71 MB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3803, allocations: 0.8156 MB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.3803, allocations: 0 / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.3803, allocations: 0 / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.784e-05/0.3804, allocations: 15.88 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.3805, allocations: 7.984 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3806, allocations: 47.91 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3808, allocations: 4 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.487e-05/0.3809, allocations: 27.91 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.3809, allocations: 15.92 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3809, allocations: 4 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.3809, allocations: 4 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.381, allocations: 7.984 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.381, allocations: 19.88 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.3811, allocations: 43.8 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3811, allocations: 0 / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3811, allocations: 0 / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3811, allocations: 4 kB / 1.218 GB, free: 13.55 MB / 0.9669 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.0006357/0.3818, allocations: 363.3 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3818, allocations: 12.03 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.3819, allocations: 8.891 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.382, allocations: 172.3 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3821, allocations: 384 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3821, allocations: 8.359 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.3824, allocations: 70.22 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3824, allocations: 4.125 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3824, allocations: 7.938 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3824, allocations: 3.938 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3827, allocations: 63.92 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.3831, allocations: 268.9 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3833, allocations: 58.48 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.3835, allocations: 36.91 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3835, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3835, allocations: 38.56 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3835, allocations: 0 / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005512/0.3841, allocations: 129.5 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3841, allocations: 51.41 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3842, allocations: 117.8 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3842, allocations: 25.7 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.3843, allocations: 80.14 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.3843, allocations: 11.91 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3843, allocations: 13.72 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3845, allocations: 318.8 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3846, allocations: 35.97 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.3848, allocations: 31.95 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.385, allocations: 68.73 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.385, allocations: 3.938 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00031/0.3853, allocations: 105.9 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3854, allocations: 6.188 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3854, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3854, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3855, allocations: 15.98 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3855, allocations: 0 / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.3856, allocations: 11.98 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3856, allocations: 4 kB / 1.22 GB, free: 11.23 MB / 0.9669 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.0001036/0.3857, allocations: 121.8 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.3857, allocations: 3.953 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.3861, allocations: 105.5 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3861, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3861, allocations: 4 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3861, allocations: 0 / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3863, allocations: 173.5 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3863, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.3864, allocations: 23.91 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3864, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3864, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3864, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3864, allocations: 3.938 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.3868, allocations: 207.3 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.3869, allocations: 81.09 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3869, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.387, allocations: 11.98 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.387, allocations: 4 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.387, allocations: 8 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.3871, allocations: 87.27 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3871, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002165/0.3873, allocations: 8 kB / 1.221 GB, free: 10.29 MB / 0.9669 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.0001586/0.3875, allocations: 95.25 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003589/0.3878, allocations: 71.92 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3878, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.388, allocations: 39.89 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3883, allocations: 11.94 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.3887, allocations: 138.5 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.3891, allocations: 0.6846 MB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.3891, allocations: 0 / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.3891, allocations: 11.44 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of SimCode: time 1.052e-06/0.3891, allocations: 0 / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.003311/0.3924, allocations: 0.6963 MB / 1.222 GB, free: 8.496 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.804472800344229]