Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001408/0.001408, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002429/0.002429, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.607/1.607, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.474/3.474, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [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.002162/0.002162, allocations: 71.31 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.437, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002228/0.4392, allocations: 0.7421 MB / 1.326 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.4404, allocations: 0.863 MB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.4405, allocations: 3.938 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.4405, allocations: 3.938 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.4406, allocations: 15.86 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.4408, allocations: 31.97 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.4409, allocations: 63.89 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.441, allocations: 15.98 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.4411, allocations: 43.78 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.444e-05/0.4412, allocations: 43.77 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.4412, allocations: 4 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.4412, allocations: 8 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.4412, allocations: 15.98 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.4413, allocations: 23.86 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.4414, allocations: 75.62 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4414, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4414, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4414, allocations: 4 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006872/0.4421, allocations: 306 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4421, allocations: 8.031 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.4422, allocations: 8.891 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4423, allocations: 126.4 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4424, allocations: 384 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.4424, allocations: 4.375 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.4426, allocations: 82.2 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4426, allocations: 192 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.4426, allocations: 3.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.4427, allocations: 8 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.4429, allocations: 63.94 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.4434, allocations: 264.3 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.4436, allocations: 86.53 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.4438, allocations: 36.92 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.4438, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4438, allocations: 42.56 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.4438, allocations: 0 / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004628/0.4443, allocations: 129.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.4443, allocations: 51.41 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.4444, allocations: 125.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4444, allocations: 25.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.4445, allocations: 100 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.4445, allocations: 19.84 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.4446, allocations: 17.72 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4447, allocations: 326.8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4448, allocations: 27.97 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.4449, allocations: 31.97 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.4451, allocations: 76.69 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4451, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002888/0.4454, allocations: 105.6 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4454, allocations: 5.875 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.4454, allocations: 4 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4455, allocations: 3.938 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4456, allocations: 15.98 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4456, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.4457, allocations: 7.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.4457, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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.0001085/0.4458, allocations: 122.2 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.4458, allocations: 15.89 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.4458, allocations: 8.375 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4458, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4458, allocations: 4.422 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4459, allocations: 4.109 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.446, allocations: 133.2 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.446, allocations: 4 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4461, allocations: 19.97 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4461, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4461, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4461, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4462, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.4465, allocations: 203.4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.4465, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.4465, allocations: 7.984 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4466, allocations: 7.984 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.4467, allocations: 19.91 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.4467, allocations: 4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.4468, allocations: 91.27 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4468, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002231/0.447, allocations: 23.95 kB / 1.33 GB, free: 12.89 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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.0001371/0.4471, allocations: 91.25 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002878/0.4474, allocations: 71.94 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4474, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.4476, allocations: 43.91 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.4479, allocations: 15.94 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.4483, allocations: 165.6 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.349e-05/0.4484, allocations: 67.34 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.875e-05/0.4485, allocations: 15.98 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.4485, allocations: 11.44 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4485, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Templates: time 0.004278/0.4528, allocations: 1.37 MB / 1.332 GB, free: 11.01 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.880698593333364]