Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001344/0.001344, allocations: 119.9 kB / 17.13 MB, free: 5.758 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.001351/0.001351, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.443/1.443, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 1.057 GB, free: 1.992 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3083, allocations: 160.7 MB / 1.214 GB, free: 0.9453 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001984/0.3103, allocations: 0.6696 MB / 1.215 GB, free: 280 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3114, allocations: 0.8351 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.3114, allocations: 7.938 kB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.3115, allocations: 4 kB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.3115, allocations: 3.938 kB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3117, allocations: 19.92 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.458e-05/0.3118, allocations: 27.98 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3119, allocations: 4 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.312, allocations: 15.92 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.3121, allocations: 19.91 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3121, allocations: 4 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.3121, allocations: 4 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.3121, allocations: 11.88 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.3121, allocations: 19.92 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.3122, allocations: 31.88 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3123, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3123, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3123, allocations: 3.938 kB / 1.216 GB, free: 15.25 MB / 0.9669 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.0006556/0.3129, allocations: 359.4 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.313, allocations: 8.031 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.313, allocations: 4.938 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3131, allocations: 172.3 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.3132, allocations: 8.375 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3132, allocations: 384 / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.3134, allocations: 62.22 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3135, allocations: 4.125 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3135, allocations: 3.938 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3135, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.3137, allocations: 55.94 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.3142, allocations: 272.9 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.3144, allocations: 58.47 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3145, allocations: 36.89 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3146, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3146, allocations: 34.5 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3146, allocations: 0 / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004997/0.3151, allocations: 113.6 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3152, allocations: 51.41 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.3152, allocations: 105.8 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3153, allocations: 25.7 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.3153, allocations: 84.14 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3153, allocations: 3.953 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3154, allocations: 25.83 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3155, allocations: 310.8 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3157, allocations: 32.83 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3158, allocations: 45.62 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.316, allocations: 64.89 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.316, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002861/0.3163, allocations: 93.55 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3163, allocations: 6.031 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3164, allocations: 4.031 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3164, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3165, allocations: 15.92 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3165, allocations: 4 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.3166, allocations: 19.94 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3166, allocations: 3.938 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001252/0.3167, allocations: 100 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.934e-05/0.3168, allocations: 33.7 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001423/0.3169, allocations: 36.83 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.011e-05/0.3169, allocations: 3.984 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002103/0.3172, allocations: 69.72 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.3172, allocations: 8 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-06/0.3172, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/0.3172, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.3172, allocations: 15.98 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-06/0.3172, allocations: 0 / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.3173, allocations: 11.92 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.3173, allocations: 4.25 kB / 1.218 GB, free: 12.67 MB / 0.9669 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.0001099/0.3174, allocations: 180.2 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3174, allocations: 4 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.3175, allocations: 7.531 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3175, allocations: 7.984 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3175, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3175, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3177, allocations: 165.6 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3177, allocations: 4 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.3177, allocations: 11.98 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3177, allocations: 0 / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3178, allocations: 0 / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3178, allocations: 4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3178, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.3181, allocations: 187.4 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.3181, allocations: 77.11 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3182, allocations: 11.97 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.3182, allocations: 7.984 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.3183, allocations: 0 / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3183, allocations: 4 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.3183, allocations: 87.27 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3183, allocations: 3.938 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002675/0.3186, allocations: 8 kB / 1.219 GB, free: 11.82 MB / 0.9669 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.0001476/0.3187, allocations: 99.25 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.3191, allocations: 79.92 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3191, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3193, allocations: 31.89 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3196, allocations: 18.02 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.32, allocations: 163 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.3204, allocations: 0.6768 MB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.3204, allocations: 11.44 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.3204, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.002232/0.3226, allocations: 0.6259 MB / 1.22 GB, free: 10.06 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.010294550098479]