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.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.001384/0.001384, allocations: 113.8 kB / 17.6 MB, free: 4.668 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.001343/0.001343, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.479/1.479, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.855/2.855, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307/1.309, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005951/1.315, allocations: 4.189 MB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003195/1.318, allocations: 1.326 MB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/1.319, allocations: 21.62 kB / 1.277 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003949/1.319, allocations: 128.3 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004013/1.32, allocations: 181 kB / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009321/1.321, allocations: 446.7 kB / 1.278 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001009/1.322, allocations: 0.9509 MB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/1.322, allocations: 313.4 kB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/1.323, allocations: 334.8 kB / 1.28 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/1.323, allocations: 336.6 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/1.323, allocations: 91 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/1.323, allocations: 90.16 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/1.323, allocations: 178 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/1.324, allocations: 397.9 kB / 1.281 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/1.325, allocations: 1.06 MB / 1.282 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.325, allocations: 4 kB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/1.325, allocations: 1.219 kB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.369e-05/1.325, allocations: 0 / 1.282 GB, free: 1.527 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001911/1.327, allocations: 1.091 MB / 1.283 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.327, allocations: 12.94 kB / 1.283 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/1.327, allocations: 96.31 kB / 1.283 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/1.328, allocations: 0.5638 MB / 1.283 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/1.328, allocations: 41.94 kB / 1.283 GB, free: 264 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/1.328, allocations: 63.58 kB / 1.284 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/1.33, allocations: 0.6118 MB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.33, allocations: 2.797 kB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/1.33, allocations: 20.09 kB / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/1.33, allocations: 14.5 kB / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.331, allocations: 461.5 kB / 1.285 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/1.334, allocations: 1.99 MB / 1.287 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/1.335, allocations: 423.3 kB / 1.287 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/1.336, allocations: 228.7 kB / 1.287 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/1.336, allocations: 8.281 kB / 1.287 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/1.336, allocations: 269.6 kB / 1.287 GB, free: 14.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/1.336, allocations: 0 / 1.287 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001443/1.338, allocations: 0.5897 MB / 1.288 GB, free: 13.85 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/1.338, allocations: 59.12 kB / 1.288 GB, free: 13.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/1.338, allocations: 449.5 kB / 1.288 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/1.339, allocations: 32.83 kB / 1.289 GB, free: 13.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/1.339, allocations: 327.3 kB / 1.289 GB, free: 13.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/1.339, allocations: 171.7 kB / 1.289 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.339, allocations: 96.47 kB / 1.289 GB, free: 13.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002273/1.339, allocations: 370.9 kB / 1.289 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/1.34, allocations: 163.6 kB / 1.29 GB, free: 12.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/1.34, allocations: 249 kB / 1.29 GB, free: 12.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/1.341, allocations: 456.6 kB / 1.29 GB, free: 12.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.341, allocations: 0 / 1.29 GB, free: 12.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001151/1.342, allocations: 0.5636 MB / 1.291 GB, free: 11.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/1.342, allocations: 38.59 kB / 1.291 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.342, allocations: 2.688 kB / 1.291 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/1.342, allocations: 3.781 kB / 1.291 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/1.343, allocations: 117.6 kB / 1.291 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/1.343, allocations: 8.562 kB / 1.291 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/1.343, allocations: 57.44 kB / 1.291 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/1.343, allocations: 21.69 kB / 1.291 GB, free: 11.9 MB / 1.014 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0003143/1.344, allocations: 210.3 kB / 1.291 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/1.344, allocations: 60.2 kB / 1.291 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/1.344, allocations: 65.48 kB / 1.291 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.344, allocations: 4.562 kB / 1.291 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.344, allocations: 1.094 kB / 1.291 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/1.344, allocations: 2.719 kB / 1.291 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/1.346, allocations: 1.178 MB / 1.293 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.346, allocations: 1.297 kB / 1.293 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/1.346, allocations: 98.69 kB / 1.293 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/1.346, allocations: 4.719 kB / 1.293 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/1.346, allocations: 5.266 kB / 1.293 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.346, allocations: 3.312 kB / 1.293 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.346, allocations: 4 kB / 1.293 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/1.348, allocations: 0.7591 MB / 1.293 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/1.348, allocations: 173.6 kB / 1.294 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/1.348, allocations: 11.77 kB / 1.294 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/1.348, allocations: 26.36 kB / 1.294 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.348, allocations: 35.28 kB / 1.294 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/1.349, allocations: 18.12 kB / 1.294 GB, free: 10.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004119/1.349, allocations: 308.3 kB / 1.294 GB, free: 10.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.349, allocations: 0 / 1.294 GB, free: 10.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005595/1.349, allocations: 147.6 kB / 1.294 GB, free: 10.16 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.000169/1.35, allocations: 122.8 kB / 1.294 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009798/1.351, allocations: 458.1 kB / 1.295 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.351, allocations: 0 / 1.295 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004159/1.351, allocations: 208.6 kB / 1.295 GB, free: 9.785 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007946/1.352, allocations: 160.1 kB / 1.295 GB, free: 9.727 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/1.355, allocations: 1.358 MB / 1.296 GB, free: 8.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/1.356, allocations: 0.8872 MB / 1.297 GB, free: 8.223 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003378/1.356, allocations: 63.64 kB / 1.297 GB, free: 8.207 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/1.356, allocations: 44.94 kB / 1.297 GB, free: 8.195 MB / 1.014 GB Notification: Performance of SimCode: time 1.743e-06/1.356, allocations: 0 / 1.297 GB, free: 8.195 MB / 1.014 GB Notification: Performance of Templates: time 0.01582/1.372, allocations: 6.165 MB / 1.303 GB, free: 7.734 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: 10.094110653735697]