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.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.001797/0.001797, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002104/0.002104, allocations: 187.5 kB / 22.22 MB, free: 5.105 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.561/1.561, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.36/3.36, allocations: 496 MB / 0.7835 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 68.39 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4708, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002803/0.4736, allocations: 0.6937 MB / 1.308 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4753, allocations: 0.8471 MB / 1.309 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.4753, allocations: 0 / 1.309 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.4754, allocations: 0 / 1.309 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.4754, allocations: 3.938 kB / 1.309 GB, free: 224 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.4756, allocations: 15.92 kB / 1.309 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.4757, allocations: 35.92 kB / 1.309 GB, free: 172 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4759, allocations: 12 kB / 1.309 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.476, allocations: 19.91 kB / 1.309 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.476, allocations: 15.98 kB / 1.309 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.476, allocations: 0 / 1.309 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.4761, allocations: 4 kB / 1.309 GB, free: 120 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.4761, allocations: 7.938 kB / 1.309 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.4761, allocations: 11.94 kB / 1.309 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.4762, allocations: 39.81 kB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4762, allocations: 0 / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4762, allocations: 0 / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.764e-05/0.4763, allocations: 3.984 kB / 1.309 GB, free: 56 kB / 0.9981 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.0006363/0.4769, allocations: 278.3 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.4769, allocations: 8.922 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.477, allocations: 8.938 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.4771, allocations: 110.4 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4771, allocations: 4.375 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.4772, allocations: 384 / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.4774, allocations: 66.16 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4774, allocations: 4.188 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4774, allocations: 3.938 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4774, allocations: 3.984 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.4777, allocations: 55.94 kB / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.4782, allocations: 236 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.4784, allocations: 62.41 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4786, allocations: 32.89 kB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.4786, allocations: 0 / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.4786, allocations: 34.56 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4786, allocations: 0 / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004907/0.4791, allocations: 117.6 kB / 1.31 GB, free: 14.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.4792, allocations: 51.41 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4793, allocations: 117.9 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4793, allocations: 29.64 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.4794, allocations: 80.14 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.4794, allocations: 11.94 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.4795, allocations: 13.72 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.4797, allocations: 310.8 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4798, allocations: 40.77 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.4799, allocations: 41.69 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.4802, allocations: 60.8 kB / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4802, allocations: 96 / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002836/0.4805, allocations: 101.5 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4805, allocations: 4 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4805, allocations: 3.938 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.4805, allocations: 0 / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4806, allocations: 11.98 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4806, allocations: 4 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.4807, allocations: 16.02 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4807, allocations: 0 / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001602/0.4809, allocations: 100.1 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.109e-05/0.481, allocations: 29.7 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001361/0.4811, allocations: 44.91 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.4811, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002443/0.4813, allocations: 69.55 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.4813, allocations: 4 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.4813, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-06/0.4814, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.4814, allocations: 11.98 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.4814, allocations: 0 / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.4815, allocations: 12.02 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.4815, allocations: 4 kB / 1.311 GB, free: 13.68 MB / 1.014 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.0001296/0.4816, allocations: 184.9 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.4816, allocations: 0 / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.4817, allocations: 15.61 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4817, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4817, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4817, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.4819, allocations: 144.6 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4819, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/0.482, allocations: 11.98 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.482, allocations: 0 / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.482, allocations: 0 / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.482, allocations: 256 / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.482, allocations: 7.875 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.4823, allocations: 191.4 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.4824, allocations: 12 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4824, allocations: 0 / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.4825, allocations: 7.984 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4825, allocations: 4 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4825, allocations: 0 / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.4826, allocations: 87.3 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4826, allocations: 4 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002683/0.4829, allocations: 8 kB / 1.312 GB, free: 12.95 MB / 1.014 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.0001614/0.483, allocations: 91.25 kB / 1.312 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.4834, allocations: 87.91 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4834, allocations: 0 / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4835, allocations: 27.97 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.4839, allocations: 11.03 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.4843, allocations: 125.5 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.4848, allocations: 0.6808 MB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.4849, allocations: 4 kB / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.4849, allocations: 11.42 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of SimCode: time 5.92e-07/0.4849, allocations: 0 / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of Templates: time 0.003556/0.4885, allocations: 0.6064 MB / 1.313 GB, free: 11.26 MB / 1.014 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.750951987691224]