Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.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.001331/0.001331, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001455/0.001455, allocations: 220.6 kB / 23.01 MB, free: 4.605 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.8 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPID") [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.002064/0.002064, allocations: 75.06 kB / 1.119 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3695, allocations: 169.9 MB / 1.285 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005537/0.375, allocations: 3.751 MB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.3782, allocations: 1.379 MB / 1.29 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.3787, allocations: 31.75 kB / 1.29 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.3791, allocations: 130.6 kB / 1.29 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005786/0.3797, allocations: 178.5 kB / 1.29 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.381, allocations: 0.5965 MB / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3823, allocations: 0.9604 MB / 1.291 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004776/0.3827, allocations: 250.1 kB / 1.292 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.3833, allocations: 382.4 kB / 1.292 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.3837, allocations: 358.1 kB / 1.292 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3838, allocations: 83.94 kB / 1.292 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3839, allocations: 80 kB / 1.293 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.3841, allocations: 183.3 kB / 1.293 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.3844, allocations: 385.7 kB / 1.293 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3855, allocations: 0.8984 MB / 1.294 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3856, allocations: 3.938 kB / 1.294 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3856, allocations: 0 / 1.294 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.3856, allocations: 0 / 1.294 GB, free: 9.855 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002241/0.3878, allocations: 1.131 MB / 1.295 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3879, allocations: 16.02 kB / 1.295 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.388, allocations: 96.33 kB / 1.295 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3892, allocations: 0.5506 MB / 1.296 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.3894, allocations: 156.3 kB / 1.296 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.3894, allocations: 52.38 kB / 1.296 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.3906, allocations: 0.6128 MB / 1.297 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3906, allocations: 0 / 1.297 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.3907, allocations: 24 kB / 1.297 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3907, allocations: 12 kB / 1.297 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009979/0.3917, allocations: 431.6 kB / 1.297 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.3947, allocations: 2.048 MB / 1.299 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.396, allocations: 499.5 kB / 1.299 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.3964, allocations: 204.8 kB / 1.3 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.3965, allocations: 7.938 kB / 1.3 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006756/0.3972, allocations: 286 kB / 1.3 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 1.894e-06/0.3972, allocations: 0 / 1.3 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001524/0.3987, allocations: 0.6234 MB / 1.301 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/0.3988, allocations: 114.6 kB / 1.301 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/0.3996, allocations: 0.6138 MB / 1.301 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.3996, allocations: 37.7 kB / 1.301 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.3999, allocations: 369.3 kB / 1.302 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.4001, allocations: 166.6 kB / 1.302 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.4003, allocations: 95.39 kB / 1.302 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4004, allocations: 330 kB / 1.302 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.4009, allocations: 187.4 kB / 1.302 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.4014, allocations: 286 kB / 1.303 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/0.4023, allocations: 477.9 kB / 1.303 GB, free: 132 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.4023, allocations: 7.938 kB / 1.303 GB, free: 124 kB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001244/0.4036, allocations: 0.5949 MB / 1.304 GB, free: 15.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.4036, allocations: 37.69 kB / 1.304 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4037, allocations: 4 kB / 1.304 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4037, allocations: 4 kB / 1.304 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.4042, allocations: 111.8 kB / 1.304 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.4042, allocations: 4 kB / 1.304 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.4046, allocations: 71.84 kB / 1.304 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.4046, allocations: 23.94 kB / 1.304 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005777/0.4052, allocations: 313.4 kB / 1.304 GB, free: 14.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004738/0.4057, allocations: 278 kB / 1.304 GB, free: 14.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008686/0.4065, allocations: 458 kB / 1.305 GB, free: 14.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.4065, allocations: 0 / 1.305 GB, free: 14.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001116/0.4077, allocations: 0.5871 MB / 1.305 GB, free: 13.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.4077, allocations: 33.7 kB / 1.306 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4077, allocations: 4 kB / 1.306 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-06/0.4077, allocations: 4 kB / 1.306 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.4081, allocations: 107.8 kB / 1.306 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4082, allocations: 8 kB / 1.306 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.4085, allocations: 59.64 kB / 1.306 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.4086, allocations: 16 kB / 1.306 GB, free: 13.31 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002174/0.4088, allocations: 220.1 kB / 1.306 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.4089, allocations: 75.52 kB / 1.306 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.4091, allocations: 79.22 kB / 1.306 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4091, allocations: 4 kB / 1.306 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4091, allocations: 0 / 1.306 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4091, allocations: 3.984 kB / 1.306 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.4099, allocations: 0.6014 MB / 1.307 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4099, allocations: 0 / 1.307 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.4104, allocations: 83.89 kB / 1.307 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.4104, allocations: 4 kB / 1.307 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.4105, allocations: 11.98 kB / 1.307 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4105, allocations: 0 / 1.307 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4105, allocations: 0 / 1.307 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.4121, allocations: 0.7474 MB / 1.307 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.4123, allocations: 123.4 kB / 1.308 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.4124, allocations: 8 kB / 1.308 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.4128, allocations: 39.95 kB / 1.308 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.4129, allocations: 31.94 kB / 1.308 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.413, allocations: 19.98 kB / 1.308 GB, free: 11.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000568/0.4135, allocations: 435 kB / 1.308 GB, free: 10.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4135, allocations: 3.938 kB / 1.308 GB, free: 10.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006435/0.4142, allocations: 215.5 kB / 1.308 GB, free: 10.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001594/0.4143, allocations: 111.2 kB / 1.308 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.416, allocations: 0.7542 MB / 1.309 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.416, allocations: 0 / 1.309 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.4164, allocations: 204.2 kB / 1.309 GB, free: 9.469 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.4173, allocations: 213 kB / 1.31 GB, free: 9.273 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.4197, allocations: 1.22 MB / 1.311 GB, free: 8.012 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.4202, allocations: 0.9142 MB / 1.312 GB, free: 7.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.4204, allocations: 55.42 kB / 1.312 GB, free: 7.016 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/0.4204, allocations: 0 / 1.312 GB, free: 7.016 MB / 1.014 GB Notification: Performance of Templates: time 0.01419/0.4346, allocations: 8.817 MB / 1.32 GB, free: 14.25 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.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: 12.231293982011266]