Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.001598/0.001598, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002104/0.002104, allocations: 212.6 kB / 23 MB, free: 4.934 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [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.002159/0.002159, allocations: 72.39 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4154, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.004998/0.4204, allocations: 2.807 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.4239, allocations: 1.747 MB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006607/0.4246, allocations: 23.88 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.425, allocations: 162.2 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.4254, allocations: 130.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.4262, allocations: 355.5 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.4274, allocations: 1.073 MB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007875/0.4282, allocations: 458.9 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.4287, allocations: 418.3 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004824/0.4292, allocations: 449.6 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.4293, allocations: 124 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.4295, allocations: 120 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.4297, allocations: 251.1 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.4301, allocations: 385.9 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4315, allocations: 1.326 MB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4315, allocations: 0 / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4315, allocations: 0 / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.4315, allocations: 3.938 kB / 1.337 GB, free: 7.082 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003147/0.4347, allocations: 1.899 MB / 1.339 GB, free: 5.121 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4347, allocations: 12.03 kB / 1.339 GB, free: 5.109 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.4349, allocations: 124.2 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009153/0.4359, allocations: 0.4998 MB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/0.4359, allocations: 82.36 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.4361, allocations: 100.3 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.4377, allocations: 0.9754 MB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4378, allocations: 192 / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.4378, allocations: 39.94 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.4379, allocations: 27.94 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.4391, allocations: 0.6168 MB / 1.341 GB, free: 2.578 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/0.4434, allocations: 2.346 MB / 1.343 GB, free: 168 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.4448, allocations: 0.67 MB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.4454, allocations: 371.2 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/0.4455, allocations: 16.64 kB / 1.344 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006743/0.4461, allocations: 344.4 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of pre-optimization done (n=74): time 3.557e-06/0.4461, allocations: 0 / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=74): time 0.001653/0.4478, allocations: 0.8176 MB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4479, allocations: 162.9 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.4485, allocations: 494.1 kB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.4486, allocations: 41.7 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.4489, allocations: 416.9 kB / 1.346 GB, free: 12.79 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.4491, allocations: 261.7 kB / 1.347 GB, free: 12.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.4493, allocations: 134.7 kB / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4495, allocations: 374.7 kB / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.4501, allocations: 244.7 kB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.4508, allocations: 0.5612 MB / 1.348 GB, free: 11.13 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.4518, allocations: 0.5409 MB / 1.348 GB, free: 10.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4518, allocations: 0 / 1.348 GB, free: 10.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001396/0.4532, allocations: 0.7001 MB / 1.349 GB, free: 9.867 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4532, allocations: 6.125 kB / 1.349 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4532, allocations: 4 kB / 1.349 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.4533, allocations: 4 kB / 1.349 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.4539, allocations: 155.8 kB / 1.349 GB, free: 9.703 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.4539, allocations: 4 kB / 1.349 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.4543, allocations: 91.61 kB / 1.349 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.4544, allocations: 23.94 kB / 1.349 GB, free: 9.586 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006161/0.455, allocations: 358 kB / 1.35 GB, free: 9.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005753/0.4556, allocations: 0.5066 MB / 1.35 GB, free: 8.641 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007399/0.4563, allocations: 466 kB / 1.351 GB, free: 8.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.4563, allocations: 0 / 1.351 GB, free: 8.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001044/0.4573, allocations: 0.6026 MB / 1.351 GB, free: 7.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4574, allocations: 8.094 kB / 1.351 GB, free: 7.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4574, allocations: 7.984 kB / 1.351 GB, free: 7.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.4574, allocations: 4 kB / 1.351 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.4579, allocations: 127.8 kB / 1.351 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4579, allocations: 4 kB / 1.351 GB, free: 7.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.4582, allocations: 87.52 kB / 1.352 GB, free: 7.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4582, allocations: 20 kB / 1.352 GB, free: 7.316 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002477/0.4585, allocations: 228.5 kB / 1.352 GB, free: 7.086 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4586, allocations: 71.56 kB / 1.352 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.4599, allocations: 0.6371 MB / 1.352 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4599, allocations: 3.984 kB / 1.352 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4599, allocations: 4 kB / 1.352 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.46, allocations: 79.38 kB / 1.353 GB, free: 6.285 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.4601, allocations: 19.94 kB / 1.353 GB, free: 6.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.4604, allocations: 39.95 kB / 1.353 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/0.4605, allocations: 44.56 kB / 1.353 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001599/0.4621, allocations: 0.743 MB / 1.353 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001851/0.4639, allocations: 1.123 MB / 1.354 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005129/0.4645, allocations: 285 kB / 1.355 GB, free: 4.008 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004433/0.4649, allocations: 346.9 kB / 1.355 GB, free: 3.672 MB / 1.045 GB Notification: Performance of Backend: time 8.42e-07/0.4649, allocations: 96 / 1.355 GB, free: 3.672 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.4667, allocations: 0.697 MB / 1.356 GB, free: 2.973 MB / 1.045 GB Notification: Performance of SimCode: time 0.002813/0.4695, allocations: 1.849 MB / 1.358 GB, free: 1.07 MB / 1.045 GB Notification: Performance of Templates: time 0.02225/0.4918, allocations: 11.59 MB / 1.369 GB, free: 5.629 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.813801189993683]