Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.965/2.965, allocations: 476.7 MB / 0.7634 GB, free: 15.35 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=513,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=513,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 1.108 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.114, allocations: 168.7 MB / 1.272 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004574/1.119, allocations: 3.626 MB / 1.276 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004142/1.123, allocations: 2.14 MB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/1.124, allocations: 21.5 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000488/1.124, allocations: 173.3 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004163/1.125, allocations: 156.5 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/1.126, allocations: 0.5251 MB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001498/1.128, allocations: 1.249 MB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/1.129, allocations: 437.8 kB / 1.281 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/1.129, allocations: 448.8 kB / 1.281 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004705/1.13, allocations: 490.9 kB / 1.281 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/1.13, allocations: 129.2 kB / 1.282 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/1.13, allocations: 142.9 kB / 1.282 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/1.13, allocations: 256.8 kB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004476/1.131, allocations: 0.5042 MB / 1.282 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/1.133, allocations: 1.436 MB / 1.284 GB, free: 484 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/1.133, allocations: 0.5625 kB / 1.284 GB, free: 484 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.933e-06/1.133, allocations: 0 / 1.284 GB, free: 484 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.1e-05/1.133, allocations: 0 / 1.284 GB, free: 484 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002731/1.135, allocations: 1.398 MB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.135, allocations: 9.469 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/1.136, allocations: 123.8 kB / 1.285 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009547/1.137, allocations: 0.6066 MB / 1.286 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/1.137, allocations: 73.55 kB / 1.286 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/1.137, allocations: 94.66 kB / 1.286 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/1.138, allocations: 0.8623 MB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/1.139, allocations: 0.75 kB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/1.139, allocations: 41.75 kB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/1.139, allocations: 19.88 kB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.14, allocations: 0.6334 MB / 1.288 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005176/1.145, allocations: 2.972 MB / 1.291 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.147, allocations: 0.6558 MB / 1.291 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/1.147, allocations: 352.4 kB / 1.292 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/1.147, allocations: 11.52 kB / 1.292 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007343/1.148, allocations: 347.8 kB / 1.292 GB, free: 12.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 3.266e-06/1.148, allocations: 0 / 1.292 GB, free: 12.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.001916/1.15, allocations: 0.8366 MB / 1.293 GB, free: 11.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/1.15, allocations: 192.9 kB / 1.293 GB, free: 11.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009758/1.151, allocations: 0.681 MB / 1.294 GB, free: 11.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.698e-05/1.151, allocations: 39.5 kB / 1.294 GB, free: 11.13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/1.152, allocations: 437.5 kB / 1.294 GB, free: 10.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/1.152, allocations: 240.4 kB / 1.294 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/1.152, allocations: 151 kB / 1.294 GB, free: 10.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.153, allocations: 337.3 kB / 1.295 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006876/1.153, allocations: 296.4 kB / 1.295 GB, free: 10.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/1.154, allocations: 485.9 kB / 1.295 GB, free: 9.773 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/1.155, allocations: 0.6768 MB / 1.296 GB, free: 9.383 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.155, allocations: 0 / 1.296 GB, free: 9.383 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001887/1.157, allocations: 0.8869 MB / 1.297 GB, free: 9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/1.157, allocations: 36 kB / 1.297 GB, free: 8.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.157, allocations: 3.594 kB / 1.297 GB, free: 8.969 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.157, allocations: 10.31 kB / 1.297 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/1.158, allocations: 165.9 kB / 1.297 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/1.158, allocations: 7.312 kB / 1.297 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/1.159, allocations: 143.5 kB / 1.297 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/1.159, allocations: 33.88 kB / 1.297 GB, free: 8.879 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008053/1.16, allocations: 395.6 kB / 1.298 GB, free: 8.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006494/1.16, allocations: 418.5 kB / 1.298 GB, free: 8.359 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009416/1.161, allocations: 0.5709 MB / 1.299 GB, free: 7.992 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.978e-06/1.161, allocations: 1.703 kB / 1.299 GB, free: 7.992 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001478/1.163, allocations: 0.7713 MB / 1.299 GB, free: 7.625 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/1.163, allocations: 37.16 kB / 1.299 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.163, allocations: 2.719 kB / 1.299 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.163, allocations: 6.812 kB / 1.299 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/1.164, allocations: 141.4 kB / 1.3 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.164, allocations: 6.531 kB / 1.3 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/1.164, allocations: 115.8 kB / 1.3 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/1.164, allocations: 31.3 kB / 1.3 GB, free: 7.523 MB / 1.014 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.0003203/1.164, allocations: 229.2 kB / 1.3 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.165, allocations: 80.95 kB / 1.3 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/1.166, allocations: 0.6552 MB / 1.301 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/1.166, allocations: 7.781 kB / 1.301 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.166, allocations: 0 / 1.301 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.166, allocations: 3.328 kB / 1.301 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/1.169, allocations: 1.675 MB / 1.302 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.169, allocations: 6.562 kB / 1.302 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/1.17, allocations: 129.2 kB / 1.302 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/1.17, allocations: 5.719 kB / 1.302 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/1.17, allocations: 25.59 kB / 1.302 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/1.17, allocations: 8.797 kB / 1.302 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.17, allocations: 2.969 kB / 1.302 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/1.172, allocations: 1.087 MB / 1.304 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/1.172, allocations: 175.9 kB / 1.304 GB, free: 5.316 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/1.172, allocations: 19.95 kB / 1.304 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/1.173, allocations: 49.09 kB / 1.304 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/1.173, allocations: 39.16 kB / 1.304 GB, free: 5.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/1.173, allocations: 23.22 kB / 1.304 GB, free: 5.281 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007101/1.173, allocations: 482.5 kB / 1.304 GB, free: 5.066 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.173, allocations: 1.156 kB / 1.304 GB, free: 5.066 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001092/1.174, allocations: 326.9 kB / 1.305 GB, free: 4.965 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * 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.0002592/1.175, allocations: 137.1 kB / 1.305 GB, free: 4.852 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002345/1.177, allocations: 1.066 MB / 1.306 GB, free: 4.402 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.177, allocations: 1.031 kB / 1.306 GB, free: 4.402 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006618/1.178, allocations: 301.1 kB / 1.306 GB, free: 4.309 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/1.179, allocations: 180.9 kB / 1.306 GB, free: 4.246 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/1.182, allocations: 1.553 MB / 1.308 GB, free: 3.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/1.182, allocations: 0.9767 MB / 1.309 GB, free: 2.609 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/1.183, allocations: 69.27 kB / 1.309 GB, free: 2.598 MB / 1.014 GB Notification: Performance of SimCode: time 1.242e-06/1.183, allocations: 0 / 1.309 GB, free: 2.598 MB / 1.014 GB Notification: Performance of Templates: time 0.02277/1.205, allocations: 10.19 MB / 1.319 GB, free: 1.441 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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