Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.001389/0.001389, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001625/0.001625, allocations: 211 kB / 22.99 MB, free: 4.953 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.54/3.54, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [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.002112/0.002112, allocations: 68.34 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4134, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.00254/0.4159, allocations: 0.6703 MB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.4172, allocations: 0.8553 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.4172, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.4172, allocations: 7.938 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.056e-05/0.4173, allocations: 7.938 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.4175, allocations: 15.98 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.4176, allocations: 35.91 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.4177, allocations: 7.984 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.4178, allocations: 15.88 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.4178, allocations: 23.86 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.4179, allocations: 4 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.4179, allocations: 4 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.4179, allocations: 7.984 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.4179, allocations: 11.94 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.418, allocations: 35.81 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.418, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.418, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.418, allocations: 0 / 1.329 GB, free: 15.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005817/0.4186, allocations: 278.3 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4187, allocations: 12.03 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.4187, allocations: 4.891 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4188, allocations: 110.5 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4189, allocations: 384 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.4189, allocations: 8.375 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.4191, allocations: 58.22 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4191, allocations: 192 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4191, allocations: 3.938 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4191, allocations: 4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.4194, allocations: 55.88 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.4198, allocations: 216.6 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.4201, allocations: 58.52 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.4202, allocations: 32.89 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.4202, allocations: 3.938 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4203, allocations: 42.48 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.4203, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000495/0.4207, allocations: 117.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4208, allocations: 51.41 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.4209, allocations: 105.8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.4209, allocations: 25.7 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.421, allocations: 84.14 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.421, allocations: 4.078 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.421, allocations: 21.72 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4212, allocations: 318.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.4213, allocations: 32.83 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.4215, allocations: 67.33 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.4217, allocations: 64.89 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4217, allocations: 3.938 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002794/0.422, allocations: 85.58 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.422, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.422, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4221, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4222, allocations: 27.94 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4222, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.4223, allocations: 11.98 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4223, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001306/0.4224, allocations: 100.1 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001084/0.4225, allocations: 59.33 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001412/0.4227, allocations: 36.92 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.31e-07/0.4227, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001897/0.4228, allocations: 73.61 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.4229, allocations: 7.938 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.4229, allocations: 7.984 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-06/0.4229, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.4229, allocations: 7.984 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-06/0.4229, allocations: 4.031 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.423, allocations: 11.98 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-06/0.423, allocations: 0 / 1.331 GB, free: 12.85 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 (2): * Single equations (assignments): 2 * 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.0001431/0.4231, allocations: 184.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.4231, allocations: 3.938 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.4232, allocations: 3.625 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4232, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4232, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4232, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.4233, allocations: 113.3 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4233, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.4234, allocations: 11.98 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4234, allocations: 8.188 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.4234, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4234, allocations: 7.984 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4234, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.4238, allocations: 179.5 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.4238, allocations: 7.891 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.4238, allocations: 7.938 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.4239, allocations: 7.984 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.4239, allocations: 11.92 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.424, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.424, allocations: 83.28 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.424, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002655/0.4243, allocations: 8 kB / 1.332 GB, free: 12.16 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 (2): * Single equations (assignments): 2 * 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.0001692/0.4244, allocations: 103.2 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.4248, allocations: 75.92 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4248, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4249, allocations: 31.91 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4253, allocations: 15.89 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.4257, allocations: 139.6 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.209e-05/0.4258, allocations: 63.34 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.4258, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.4258, allocations: 11.44 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4258, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of Templates: time 0.003396/0.4292, allocations: 0.6692 MB / 1.333 GB, free: 11.02 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.625001881999196]