Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.002346/0.002346, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.003203/0.003203, allocations: 214.6 kB / 22.25 MB, free: 5.242 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.617/1.617, allocations: 230.6 MB / 256 MB, free: 7.785 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.835/2.835, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] 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.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [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.002162/0.002162, allocations: 67 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3937, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006199/0.3999, allocations: 3.767 MB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003026/0.4029, allocations: 1.325 MB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.4033, allocations: 31.81 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.4037, allocations: 126.7 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.4041, allocations: 186.4 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009914/0.4051, allocations: 415.4 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.4063, allocations: 0.9516 MB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00055/0.4069, allocations: 294.6 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.4073, allocations: 346.7 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.4077, allocations: 290.4 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.4078, allocations: 92 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4079, allocations: 92 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.4081, allocations: 179.4 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.4084, allocations: 302.5 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4096, allocations: 1.074 MB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4096, allocations: 0 / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4096, allocations: 0 / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.4097, allocations: 4 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002092/0.4117, allocations: 1.084 MB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4118, allocations: 11.97 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.4119, allocations: 88.42 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.413, allocations: 0.4999 MB / 1.294 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.413, allocations: 45.69 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/0.4131, allocations: 56.38 kB / 1.294 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.4143, allocations: 0.662 MB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.4143, allocations: 0 / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.4144, allocations: 28 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.4144, allocations: 16 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.4155, allocations: 457 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.4184, allocations: 1.698 MB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.4195, allocations: 429.5 kB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.42, allocations: 222.1 kB / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.42, allocations: 4.438 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/0.4206, allocations: 253.4 kB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.394e-06/0.4206, allocations: 0 / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.00143/0.422, allocations: 0.5962 MB / 1.298 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4221, allocations: 55.84 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.4227, allocations: 434.5 kB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.4227, allocations: 33.7 kB / 1.299 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.423, allocations: 340.8 kB / 1.299 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.4232, allocations: 170.5 kB / 1.299 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.4234, allocations: 98.33 kB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4236, allocations: 362.8 kB / 1.3 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.424, allocations: 194.9 kB / 1.3 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.4245, allocations: 284.3 kB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/0.4254, allocations: 451 kB / 1.3 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4254, allocations: 0 / 1.3 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001169/0.4266, allocations: 0.5902 MB / 1.301 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.4267, allocations: 33.7 kB / 1.301 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4267, allocations: 7.938 kB / 1.301 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4267, allocations: 4 kB / 1.301 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.4272, allocations: 111.8 kB / 1.301 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.4272, allocations: 7.984 kB / 1.301 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.4275, allocations: 55.91 kB / 1.301 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.4276, allocations: 24 kB / 1.301 GB, free: 8.844 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.000282/0.4279, allocations: 209.7 kB / 1.301 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.4279, allocations: 55.62 kB / 1.302 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.4281, allocations: 65.39 kB / 1.302 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.4281, allocations: 8 kB / 1.302 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.4281, allocations: 3.938 kB / 1.302 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4281, allocations: 3.984 kB / 1.302 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.4299, allocations: 1.002 MB / 1.303 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4299, allocations: 3.938 kB / 1.303 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.4304, allocations: 91.89 kB / 1.303 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4304, allocations: 4 kB / 1.303 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.4304, allocations: 15.98 kB / 1.303 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4304, allocations: 0 / 1.303 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4304, allocations: 0 / 1.303 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.432, allocations: 0.7613 MB / 1.303 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.4322, allocations: 103.5 kB / 1.304 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.4322, allocations: 8 kB / 1.304 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.4325, allocations: 23.97 kB / 1.304 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4326, allocations: 36.38 kB / 1.304 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.4326, allocations: 19.98 kB / 1.304 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003764/0.433, allocations: 295.1 kB / 1.304 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.433, allocations: 4 kB / 1.304 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005117/0.4335, allocations: 139.6 kB / 1.304 GB, free: 5.953 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001495/0.4337, allocations: 114.8 kB / 1.304 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.4347, allocations: 490.8 kB / 1.305 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4347, allocations: 7.938 kB / 1.305 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.4352, allocations: 206.4 kB / 1.305 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.4359, allocations: 158.5 kB / 1.305 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.4389, allocations: 1.349 MB / 1.306 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4392, allocations: 288.7 kB / 1.307 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002879/0.4395, allocations: 60.53 kB / 1.307 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.4397, allocations: 43.42 kB / 1.307 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of SimCode: time 1.312e-06/0.4397, allocations: 0 / 1.307 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.01454/0.4542, allocations: 6.546 MB / 1.313 GB, free: 12.79 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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: 9.83728470094502]