Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 110.5 kB / 17.08 MB, free: 5.984 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.001952/0.001952, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.122/3.122, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.88 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8741, allocations: 163.8 MB / 1.263 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004543/0.8787, allocations: 3.625 MB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003601/0.8824, allocations: 2.133 MB / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/0.8831, allocations: 22 kB / 1.268 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.8836, allocations: 174.8 kB / 1.268 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.884, allocations: 139.6 kB / 1.269 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.8852, allocations: 0.5013 MB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.8866, allocations: 1.255 MB / 1.27 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008435/0.8875, allocations: 0.5946 MB / 1.271 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.888, allocations: 448.7 kB / 1.271 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.8885, allocations: 488.8 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.8887, allocations: 128.9 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.8889, allocations: 141.5 kB / 1.272 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.8891, allocations: 256.6 kB / 1.272 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.8894, allocations: 0.5011 MB / 1.273 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.8907, allocations: 1.434 MB / 1.274 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8907, allocations: 1.25 kB / 1.274 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8907, allocations: 0 / 1.274 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.8907, allocations: 0 / 1.274 GB, free: 0.5352 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002508/0.8933, allocations: 1.404 MB / 1.276 GB, free: 15.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8933, allocations: 9.906 kB / 1.276 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.8935, allocations: 127.9 kB / 1.276 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.8947, allocations: 0.6022 MB / 1.276 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.781e-05/0.8948, allocations: 69.19 kB / 1.276 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.895, allocations: 95.62 kB / 1.276 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.8966, allocations: 0.8656 MB / 1.277 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.8967, allocations: 192 / 1.277 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.8968, allocations: 40.86 kB / 1.277 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.8968, allocations: 21.84 kB / 1.277 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.8982, allocations: 0.637 MB / 1.278 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005067/0.9033, allocations: 2.974 MB / 1.281 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.9049, allocations: 0.6808 MB / 1.282 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.9056, allocations: 376.5 kB / 1.282 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.9057, allocations: 12.16 kB / 1.282 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006929/0.9064, allocations: 348.3 kB / 1.282 GB, free: 12.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.745e-06/0.9064, allocations: 0 / 1.282 GB, free: 12.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.001954/0.9083, allocations: 0.8393 MB / 1.283 GB, free: 11.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.9085, allocations: 190.2 kB / 1.283 GB, free: 11.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.9096, allocations: 0.6777 MB / 1.284 GB, free: 11.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/0.9097, allocations: 44.2 kB / 1.284 GB, free: 11.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.9101, allocations: 438.9 kB / 1.284 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.9103, allocations: 244.7 kB / 1.285 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.9106, allocations: 147.8 kB / 1.285 GB, free: 10.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9108, allocations: 336.7 kB / 1.285 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000783/0.9116, allocations: 297.4 kB / 1.285 GB, free: 10.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008829/0.9125, allocations: 481.8 kB / 1.286 GB, free: 9.809 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.9138, allocations: 0.6697 MB / 1.286 GB, free: 9.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9138, allocations: 1.344 kB / 1.286 GB, free: 9.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002006/0.9159, allocations: 0.8864 MB / 1.287 GB, free: 9.047 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.9159, allocations: 44.7 kB / 1.287 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9159, allocations: 2.406 kB / 1.287 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.916, allocations: 6.031 kB / 1.287 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.9166, allocations: 162.9 kB / 1.288 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.9167, allocations: 7.141 kB / 1.288 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/0.9174, allocations: 143 kB / 1.288 GB, free: 8.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.9175, allocations: 35.03 kB / 1.288 GB, free: 8.926 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007187/0.9182, allocations: 395.1 kB / 1.288 GB, free: 8.707 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006266/0.9188, allocations: 418.5 kB / 1.288 GB, free: 8.406 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009223/0.9198, allocations: 0.5672 MB / 1.289 GB, free: 8.035 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.9198, allocations: 1.531 kB / 1.289 GB, free: 8.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001669/0.9214, allocations: 0.7695 MB / 1.29 GB, free: 7.668 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.9215, allocations: 40.2 kB / 1.29 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.9215, allocations: 3.312 kB / 1.29 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.9215, allocations: 7.016 kB / 1.29 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.922, allocations: 137.3 kB / 1.29 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.9221, allocations: 7.359 kB / 1.29 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.9227, allocations: 115.7 kB / 1.29 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.9227, allocations: 30.58 kB / 1.29 GB, free: 7.566 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.0002944/0.923, allocations: 235 kB / 1.29 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.9232, allocations: 82.41 kB / 1.29 GB, free: 7.305 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.9246, allocations: 0.6504 MB / 1.291 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.9246, allocations: 6.906 kB / 1.291 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.9246, allocations: 1.312 kB / 1.291 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.9246, allocations: 3.516 kB / 1.291 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.9275, allocations: 1.67 MB / 1.293 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.9275, allocations: 9.219 kB / 1.293 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.928, allocations: 127.5 kB / 1.293 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/0.9281, allocations: 9.375 kB / 1.293 GB, free: 6.105 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.9281, allocations: 25.27 kB / 1.293 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.9281, allocations: 8.469 kB / 1.293 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9281, allocations: 3.5 kB / 1.293 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.9302, allocations: 1.091 MB / 1.294 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.9304, allocations: 172 kB / 1.294 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/0.9305, allocations: 18.48 kB / 1.294 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.9309, allocations: 50.23 kB / 1.294 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.931, allocations: 38.75 kB / 1.294 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.931, allocations: 22.42 kB / 1.294 GB, free: 5.328 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006498/0.9317, allocations: 491.5 kB / 1.295 GB, free: 5.105 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9317, allocations: 0 / 1.295 GB, free: 5.105 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009477/0.9326, allocations: 324.8 kB / 1.295 GB, free: 5.008 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.0002333/0.9329, allocations: 132.2 kB / 1.295 GB, free: 4.898 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.9353, allocations: 1.15 MB / 1.296 GB, free: 4.418 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.9353, allocations: 3.062 kB / 1.296 GB, free: 4.418 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006336/0.9359, allocations: 318.8 kB / 1.297 GB, free: 4.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000995/0.9369, allocations: 192 kB / 1.297 GB, free: 4.246 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.9397, allocations: 1.553 MB / 1.298 GB, free: 3.312 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.9403, allocations: 0.9755 MB / 1.299 GB, free: 2.602 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.9406, allocations: 70.23 kB / 1.299 GB, free: 2.59 MB / 1.014 GB Notification: Performance of SimCode: time 7.82e-07/0.9406, allocations: 0 / 1.299 GB, free: 2.59 MB / 1.014 GB Notification: Performance of Templates: time 0.02114/0.9618, allocations: 10.16 MB / 1.309 GB, free: 1.457 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.47841307008639]