Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.001935/0.001935, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002449/0.002449, allocations: 208.9 kB / 23.03 MB, free: 4.863 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.206/3.206, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [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.002056/0.002056, allocations: 71.81 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005292/0.3381, allocations: 3.06 MB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003992/0.3421, allocations: 2.136 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.3426, allocations: 27.88 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.3431, allocations: 178 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.3434, allocations: 146.6 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.3446, allocations: 0.502 MB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.3459, allocations: 1.248 MB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007051/0.3466, allocations: 402.3 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.3471, allocations: 458.2 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005188/0.3476, allocations: 433.5 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.3478, allocations: 132 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.348, allocations: 140 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.3482, allocations: 259 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004173/0.3486, allocations: 405.8 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.3501, allocations: 1.451 MB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3501, allocations: 4 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3501, allocations: 0 / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.3501, allocations: 0 / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002787/0.3529, allocations: 1.563 MB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.353, allocations: 8.031 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.3532, allocations: 124.2 kB / 1.34 GB, free: 4.172 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009109/0.3541, allocations: 0.5388 MB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.3542, allocations: 66.38 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3543, allocations: 96.38 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.3559, allocations: 0.9857 MB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.3559, allocations: 192 / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.356, allocations: 39.94 kB / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.356, allocations: 20 kB / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.3574, allocations: 0.6402 MB / 1.342 GB, free: 1.707 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/0.3617, allocations: 2.524 MB / 1.344 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.3632, allocations: 0.6574 MB / 1.345 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.3639, allocations: 346.5 kB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.3639, allocations: 12.64 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007016/0.3646, allocations: 348.3 kB / 1.346 GB, free: 13.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 2.735e-06/0.3646, allocations: 0 / 1.346 GB, free: 13.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.001844/0.3665, allocations: 0.8254 MB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.3666, allocations: 192.6 kB / 1.347 GB, free: 12.65 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/0.3674, allocations: 0.585 MB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.3675, allocations: 45.64 kB / 1.347 GB, free: 12.01 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.3679, allocations: 449.6 kB / 1.348 GB, free: 11.56 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.3681, allocations: 241.9 kB / 1.348 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.3683, allocations: 150.6 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.3686, allocations: 386.7 kB / 1.348 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.3693, allocations: 322.4 kB / 1.349 GB, free: 10.46 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.3703, allocations: 0.7548 MB / 1.349 GB, free: 9.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.3716, allocations: 0.6735 MB / 1.35 GB, free: 8.852 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.3716, allocations: 4 kB / 1.35 GB, free: 8.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001883/0.3735, allocations: 0.9062 MB / 1.351 GB, free: 7.922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.3735, allocations: 43.56 kB / 1.351 GB, free: 7.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3735, allocations: 4 kB / 1.351 GB, free: 7.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.3736, allocations: 4 kB / 1.351 GB, free: 7.867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.3742, allocations: 164 kB / 1.351 GB, free: 7.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.3742, allocations: 7.984 kB / 1.351 GB, free: 7.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.3748, allocations: 127.6 kB / 1.351 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.3749, allocations: 31.94 kB / 1.351 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007276/0.3756, allocations: 431.7 kB / 1.352 GB, free: 7.109 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007928/0.3764, allocations: 0.6885 MB / 1.352 GB, free: 6.285 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008844/0.3773, allocations: 0.5603 MB / 1.353 GB, free: 5.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.3773, allocations: 7.938 kB / 1.353 GB, free: 5.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001333/0.3786, allocations: 0.7777 MB / 1.354 GB, free: 4.871 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.3787, allocations: 45.69 kB / 1.354 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3787, allocations: 4 kB / 1.354 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.3787, allocations: 8 kB / 1.354 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.3792, allocations: 143.8 kB / 1.354 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.3792, allocations: 7.984 kB / 1.354 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.3797, allocations: 119.5 kB / 1.354 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.3798, allocations: 28 kB / 1.354 GB, free: 4.516 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0002442/0.38, allocations: 236.5 kB / 1.354 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.775e-05/0.3801, allocations: 71.53 kB / 1.354 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.3815, allocations: 0.645 MB / 1.355 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3815, allocations: 8 kB / 1.355 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3815, allocations: 0 / 1.355 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3815, allocations: 3.984 kB / 1.355 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.384, allocations: 1.431 MB / 1.356 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.384, allocations: 7.938 kB / 1.356 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.3845, allocations: 128.1 kB / 1.357 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.3845, allocations: 8 kB / 1.357 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.3846, allocations: 19.94 kB / 1.357 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.3846, allocations: 11.92 kB / 1.357 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.3846, allocations: 4 kB / 1.357 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.3864, allocations: 1.076 MB / 1.358 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3865, allocations: 87.41 kB / 1.358 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.3866, allocations: 23.92 kB / 1.358 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.387, allocations: 51.95 kB / 1.358 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.3871, allocations: 44.36 kB / 1.358 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.3871, allocations: 20 kB / 1.358 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004888/0.3876, allocations: 406.8 kB / 1.358 GB, free: 140 kB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3876, allocations: 0 / 1.358 GB, free: 140 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009308/0.3885, allocations: 339 kB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.D.x,noLimPID.I.y,limPD.D.x,limPI.I.y,limPID.D.x,limPID.I.y) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002172/0.3887, allocations: 131 kB / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.3909, allocations: 1.127 MB / 1.36 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3909, allocations: 96 / 1.36 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.3915, allocations: 303.8 kB / 1.36 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.3924, allocations: 174 kB / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.3949, allocations: 1.544 MB / 1.362 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3953, allocations: 388.3 kB / 1.362 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.3955, allocations: 67.41 kB / 1.362 GB, free: 11.95 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.3955, allocations: 0 / 1.362 GB, free: 11.95 MB / 1.061 GB Notification: Performance of Templates: time 0.01526/0.4107, allocations: 10.12 MB / 1.372 GB, free: 1.867 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.283678811043501]