Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001441/0.001441, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.0016/0.0016, allocations: 163 kB / 22.46 MB, free: 5.359 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.128/3.128, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.094e-05, allocations: 5.797 kB / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001747/0.001778, allocations: 0.6814 MB / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.002916, allocations: 0.8587 MB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.002955, allocations: 0 / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.002984, allocations: 0 / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.003051, allocations: 7.875 kB / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.003223, allocations: 15.92 kB / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.256e-05/0.003305, allocations: 39.92 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.003402, allocations: 7.922 kB / 1.002 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.934e-05/0.003481, allocations: 19.98 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.003532, allocations: 19.91 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.003552, allocations: 4 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.003561, allocations: 0 / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.003579, allocations: 8 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.003605, allocations: 4 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.071e-05/0.003696, allocations: 35.88 kB / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.003698, allocations: 0 / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003699, allocations: 4 kB / 1.002 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003702, allocations: 0 / 1.002 GB, free: 5.527 MB / 0.9512 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.0005479/0.00425, allocations: 282.3 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.004288, allocations: 12.03 kB / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.004323, allocations: 0.9375 kB / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.004444, allocations: 117.7 kB / 1.002 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.004458, allocations: 384 / 1.002 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.004468, allocations: 384 / 1.002 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.004718, allocations: 74.14 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.004727, allocations: 192 / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.004737, allocations: 384 / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.004742, allocations: 384 / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.005018, allocations: 59.88 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.005414, allocations: 208.5 kB / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.005647, allocations: 62.53 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.005783, allocations: 36.83 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.00581, allocations: 4 kB / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.00584, allocations: 30.56 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.005841, allocations: 0 / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0005555/0.006397, allocations: 117.5 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.006452, allocations: 55.41 kB / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.006543, allocations: 97.86 kB / 1.003 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.006568, allocations: 29.7 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.006624, allocations: 92.08 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.006641, allocations: 3.953 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.006681, allocations: 13.72 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.006841, allocations: 319 kB / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.006988, allocations: 44.77 kB / 1.003 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.007148, allocations: 67.38 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.007401, allocations: 56.8 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007403, allocations: 8.031 kB / 1.004 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003036/0.007706, allocations: 85.64 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.007722, allocations: 4 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.007729, allocations: 3.938 kB / 1.004 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.007744, allocations: 0 / 1.004 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.007865, allocations: 19.92 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.00787, allocations: 256 / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.007953, allocations: 20 kB / 1.004 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.007963, allocations: 4 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001317/0.008095, allocations: 96.12 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000105/0.0082, allocations: 55.41 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001569/0.008357, allocations: 40.81 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.31e-07/0.008357, allocations: 4.094 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001997/0.008557, allocations: 61.67 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.008563, allocations: 4 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.008567, allocations: 3.984 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.008572, allocations: 3.938 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.008627, allocations: 11.94 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-06/0.008628, allocations: 0 / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.0087, allocations: 20.02 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-06/0.008703, allocations: 0 / 1.004 GB, free: 3.125 MB / 0.9512 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.0001117/0.008814, allocations: 180.2 kB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.008846, allocations: 11.94 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.008879, allocations: 7.562 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.00888, allocations: 0 / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.008885, allocations: 3.938 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008888, allocations: 0 / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.009047, allocations: 109.3 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.009048, allocations: 0 / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.009132, allocations: 15.98 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.009133, allocations: 0 / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.009142, allocations: 0 / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.009145, allocations: 7.938 kB / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009146, allocations: 0 / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.009497, allocations: 183.4 kB / 1.004 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.009509, allocations: 7.891 kB / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.009524, allocations: 7.969 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.009624, allocations: 15.92 kB / 1.005 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.009659, allocations: 4 kB / 1.005 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.009665, allocations: 4 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.75e-05/0.009733, allocations: 83.27 kB / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.009733, allocations: 0 / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002763/0.01001, allocations: 8 kB / 1.005 GB, free: 2.434 MB / 0.9512 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.0001385/0.01015, allocations: 95.25 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.01056, allocations: 83.91 kB / 1.005 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01056, allocations: 3.938 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.0107, allocations: 31.97 kB / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.01099, allocations: 2.375 kB / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.0114, allocations: 132.9 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.606e-05/0.01146, allocations: 63.34 kB / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.01149, allocations: 0 / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.01153, allocations: 16.5 kB / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.01153, allocations: 0 / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of Templates: time 0.003352/0.01488, allocations: 0.65 MB / 1.006 GB, free: 1.316 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.479936636984348]