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.002009/0.002009, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002964/0.002964, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.789 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.565/3.565, allocations: 0.4892 GB / 0.7943 GB, free: 35.39 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.002094/0.002094, allocations: 69.69 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4163, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002349/0.4187, allocations: 0.674 MB / 1.326 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.4198, allocations: 0.8514 MB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.4199, allocations: 0 / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.4199, allocations: 3.938 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.42, allocations: 7.938 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.4202, allocations: 15.98 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.4203, allocations: 35.91 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.4204, allocations: 0 / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.4205, allocations: 19.92 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.4205, allocations: 19.92 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.4206, allocations: 4 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.4206, allocations: 3.938 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.4206, allocations: 8 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.4206, allocations: 11.92 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.4207, allocations: 39.81 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4208, allocations: 0 / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4208, allocations: 0 / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.4208, allocations: 0 / 1.327 GB, free: 156 kB / 1.014 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.0006194/0.4214, allocations: 278.3 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4214, allocations: 12.03 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.4215, allocations: 4.891 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.4216, allocations: 114.5 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4216, allocations: 384 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4216, allocations: 384 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.4219, allocations: 66.22 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4219, allocations: 192 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4219, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4219, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.4221, allocations: 59.88 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.4226, allocations: 212.6 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4228, allocations: 54.53 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4229, allocations: 36.89 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.423, allocations: 7.938 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.423, allocations: 30.56 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.423, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004904/0.4235, allocations: 121.6 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.4235, allocations: 59.44 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.4236, allocations: 97.86 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.4237, allocations: 33.64 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.4237, allocations: 84.12 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.4237, allocations: 3.953 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.4238, allocations: 17.72 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.424, allocations: 310.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4241, allocations: 36.83 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.4243, allocations: 75.31 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.4245, allocations: 64.73 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4245, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002753/0.4248, allocations: 93.67 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4248, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4248, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4248, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.4249, allocations: 15.98 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4249, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.425, allocations: 15.97 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.425, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001295/0.4251, allocations: 100.2 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001029/0.4252, allocations: 55.34 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001502/0.4254, allocations: 44.81 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.62e-07/0.4254, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001834/0.4256, allocations: 65.72 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.4256, allocations: 15.95 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.52e-07/0.4256, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/0.4256, allocations: 3.984 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.4256, allocations: 8 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-06/0.4256, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.4257, allocations: 11.98 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-06/0.4257, allocations: 0 / 1.329 GB, free: 13.76 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.000125/0.4258, allocations: 183.5 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.4259, allocations: 11.88 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.4259, allocations: 11.62 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.4259, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4259, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4259, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.426, allocations: 109.3 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.426, allocations: 256 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.4261, allocations: 15.98 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4261, allocations: 3.938 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.4261, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4261, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4261, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.4265, allocations: 187.4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.4265, allocations: 7.891 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.4265, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.4266, allocations: 11.98 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.4266, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.4266, allocations: 12.02 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.4267, allocations: 87.22 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002625/0.4269, allocations: 8 kB / 1.33 GB, free: 13.06 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.0001351/0.4271, allocations: 95.23 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.4275, allocations: 83.97 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4275, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.4276, allocations: 27.97 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.4279, allocations: 11.62 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.4283, allocations: 137.5 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.4284, allocations: 59.47 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.4284, allocations: 8 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.4284, allocations: 7.438 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4284, allocations: 0 / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Templates: time 0.003446/0.4319, allocations: 0.6537 MB / 1.331 GB, free: 11.94 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 -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/jenkins/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.841694535687566]