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.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.001712/0.001712, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001747/0.001747, allocations: 208.7 kB / 22.24 MB, free: 5.262 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.011/3.011, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 66.86 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4307, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002548/0.4333, allocations: 0.7002 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.4346, allocations: 0.8277 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.4347, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.4347, allocations: 7.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.4348, allocations: 3.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.435, allocations: 11.98 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.4351, allocations: 47.84 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.4352, allocations: 11.98 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.596e-05/0.4353, allocations: 19.92 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.4354, allocations: 19.92 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.4354, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.4354, allocations: 4 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.4355, allocations: 11.98 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.4355, allocations: 15.88 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.4356, allocations: 47.73 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4356, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4356, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4356, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 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.4363, allocations: 290.2 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4363, allocations: 8.031 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.4364, allocations: 8.891 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.4365, allocations: 118.4 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4366, allocations: 384 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4366, allocations: 384 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.4369, allocations: 74.2 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4369, allocations: 192 / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4369, allocations: 7.938 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4369, allocations: 7.922 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.4372, allocations: 63.88 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.4377, allocations: 208.6 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.4379, allocations: 50.55 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4381, allocations: 44.84 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4381, allocations: 4 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4381, allocations: 34.5 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4381, allocations: 0 / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006127/0.4387, allocations: 137.5 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4388, allocations: 51.41 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.4389, allocations: 113.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.4389, allocations: 25.7 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.439, allocations: 84.14 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.439, allocations: 7.953 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.4391, allocations: 13.72 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4393, allocations: 318.8 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.4394, allocations: 27.97 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.4395, allocations: 43.89 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.4398, allocations: 60.8 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4398, allocations: 4 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003462/0.4401, allocations: 109.5 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4402, allocations: 4 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4402, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4402, allocations: 3.938 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4403, allocations: 15.98 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4403, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.4404, allocations: 11.98 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4404, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 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.0001115/0.4405, allocations: 121.8 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.4406, allocations: 7.938 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.441, allocations: 105.6 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.441, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.441, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.441, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.4411, allocations: 117.2 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4411, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.4412, allocations: 23.92 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4412, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.4413, allocations: 384 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4413, allocations: 4 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4413, allocations: 3.984 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.4417, allocations: 199.4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.4417, allocations: 15.83 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4417, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4418, allocations: 11.98 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.4419, allocations: 7.984 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.4419, allocations: 4 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.442, allocations: 83.27 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.442, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002294/0.4422, allocations: 12 kB / 1.287 GB, free: 7.289 MB / 0.9825 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.0001477/0.4423, allocations: 91.25 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.4427, allocations: 75.86 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4427, allocations: 0 / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.4428, allocations: 35.95 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.4432, allocations: 4 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.4436, allocations: 129.6 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.382e-05/0.4437, allocations: 67.28 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.4438, allocations: 3.984 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.4438, allocations: 11.44 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.4438, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of Templates: time 0.003738/0.4475, allocations: 0.7436 MB / 1.288 GB, free: 6.098 MB / 0.9825 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.777476824820042]