Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset.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.001336/0.001336, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001399/0.001399, allocations: 216.3 kB / 23.01 MB, free: 4.969 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.319/3.319, allocations: 0.49 GB / 0.7959 GB, free: 35.68 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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset") [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.002043/0.002043, allocations: 69.95 kB / 1.155 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3897, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006075/0.3958, allocations: 3.867 MB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003659/0.3994, allocations: 1.621 MB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005559/0.4, allocations: 47.62 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.4004, allocations: 162.2 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007126/0.4011, allocations: 250.1 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.4026, allocations: 0.6826 MB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.4041, allocations: 1.226 MB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006319/0.4047, allocations: 348.8 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.4055, allocations: 485.9 kB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.4061, allocations: 473.4 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.4062, allocations: 104 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.4064, allocations: 112 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.4066, allocations: 239 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.407, allocations: 385.7 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4084, allocations: 1.194 MB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4084, allocations: 0 / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4084, allocations: 0 / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.4084, allocations: 0 / 1.338 GB, free: 5.84 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002867/0.4113, allocations: 1.473 MB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4113, allocations: 8.031 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.4116, allocations: 136.1 kB / 1.34 GB, free: 4.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.4132, allocations: 0.7029 MB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.4133, allocations: 110 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.4134, allocations: 68.33 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4148, allocations: 0.8961 MB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4149, allocations: 3.938 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.4149, allocations: 32 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.415, allocations: 16 kB / 1.341 GB, free: 2.238 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.4161, allocations: 0.5204 MB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.4196, allocations: 1.89 MB / 1.344 GB, free: 15.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.421, allocations: 0.5978 MB / 1.344 GB, free: 15.17 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.4215, allocations: 254.2 kB / 1.344 GB, free: 14.91 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.4216, allocations: 8.5 kB / 1.344 GB, free: 14.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007213/0.4223, allocations: 351.8 kB / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 3.647e-06/0.4223, allocations: 0 / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.001764/0.424, allocations: 0.7582 MB / 1.346 GB, free: 13.78 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.4241, allocations: 115.3 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.425, allocations: 0.6965 MB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-05/0.4251, allocations: 41.7 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.4255, allocations: 456.8 kB / 1.347 GB, free: 12.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.4257, allocations: 218.1 kB / 1.347 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.4259, allocations: 106.3 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4261, allocations: 333.9 kB / 1.347 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.4266, allocations: 207.4 kB / 1.348 GB, free: 11.58 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.4272, allocations: 376.7 kB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.4282, allocations: 0.5048 MB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4282, allocations: 4 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001332/0.4295, allocations: 0.6529 MB / 1.349 GB, free: 9.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4295, allocations: 8 kB / 1.349 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.4295, allocations: 0 / 1.349 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.4296, allocations: 8 kB / 1.349 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.4304, allocations: 147.7 kB / 1.349 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.4304, allocations: 4 kB / 1.349 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.4309, allocations: 79.77 kB / 1.349 GB, free: 9.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.431, allocations: 23.94 kB / 1.349 GB, free: 9.699 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006774/0.4316, allocations: 353.4 kB / 1.35 GB, free: 9.348 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000537/0.4322, allocations: 352.8 kB / 1.35 GB, free: 8.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000915/0.4331, allocations: 492.9 kB / 1.351 GB, free: 8.441 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.4331, allocations: 0 / 1.351 GB, free: 8.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001254/0.4343, allocations: 0.641 MB / 1.351 GB, free: 7.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4344, allocations: 9.875 kB / 1.351 GB, free: 7.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4344, allocations: 4 kB / 1.351 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.4344, allocations: 8.25 kB / 1.351 GB, free: 7.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.4351, allocations: 143.8 kB / 1.351 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4351, allocations: 7.938 kB / 1.351 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.4356, allocations: 59.7 kB / 1.351 GB, free: 7.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.4357, allocations: 20 kB / 1.351 GB, free: 7.547 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002268/0.4359, allocations: 216.5 kB / 1.352 GB, free: 7.328 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4361, allocations: 103.4 kB / 1.352 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.4363, allocations: 96.62 kB / 1.352 GB, free: 7.133 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.4363, allocations: 7.984 kB / 1.352 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4363, allocations: 0 / 1.352 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.4366, allocations: 143.2 kB / 1.352 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/0.4367, allocations: 19.88 kB / 1.352 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.4372, allocations: 35.95 kB / 1.352 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.4373, allocations: 36.42 kB / 1.352 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001647/0.4389, allocations: 0.6651 MB / 1.353 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001878/0.4408, allocations: 1.074 MB / 1.354 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005058/0.4413, allocations: 247.9 kB / 1.354 GB, free: 4.891 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006355/0.4419, allocations: 487 kB / 1.354 GB, free: 4.418 MB / 1.045 GB Notification: Performance of Backend: time 5.91e-07/0.4419, allocations: 0 / 1.354 GB, free: 4.418 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.4437, allocations: 0.6624 MB / 1.355 GB, free: 3.75 MB / 1.045 GB Notification: Performance of SimCode: time 0.00326/0.447, allocations: 2.05 MB / 1.357 GB, free: 1.656 MB / 1.045 GB Notification: Performance of Templates: time 0.02776/0.4747, allocations: 15.52 MB / 1.372 GB, free: 2.395 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Validation.LimPIDReset.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.652084900997579]