Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.001379/0.001379, 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.001519/0.001519, allocations: 217.9 kB / 23 MB, free: 4.965 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.518/1.518, 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.266/3.266, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [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.002039/0.002039, allocations: 64.7 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4226, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.003793/0.4264, allocations: 1.89 MB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.4295, allocations: 1.712 MB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.4298, allocations: 11.94 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.4301, allocations: 87 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.4304, allocations: 87.19 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4315, allocations: 429.8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009763/0.4325, allocations: 0.7778 MB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.433, allocations: 266.2 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.4333, allocations: 306.9 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.4337, allocations: 318.5 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.4338, allocations: 88 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.434, allocations: 95.98 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.4342, allocations: 159.5 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.4345, allocations: 274.7 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.4356, allocations: 0.926 MB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4356, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4356, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4356, allocations: 0 / 1.334 GB, free: 9.543 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00209/0.4377, allocations: 1.113 MB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4377, allocations: 8.031 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.4379, allocations: 84.47 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.4387, allocations: 364.3 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.4388, allocations: 45.69 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4389, allocations: 68.36 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.4401, allocations: 0.5699 MB / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4401, allocations: 192 / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.4402, allocations: 27.88 kB / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4402, allocations: 16 kB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.4409, allocations: 365 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.4436, allocations: 1.359 MB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.4444, allocations: 413.2 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.4448, allocations: 227.2 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.4449, allocations: 12.42 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/0.4454, allocations: 277.3 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 3.487e-06/0.4454, allocations: 0 / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=53): time 0.0013/0.4467, allocations: 0.5769 MB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.4468, allocations: 115.2 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.4473, allocations: 349.7 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.4474, allocations: 41.7 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.4476, allocations: 273.2 kB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.4478, allocations: 182.4 kB / 1.341 GB, free: 2.879 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.448, allocations: 114.2 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4482, allocations: 358.7 kB / 1.341 GB, free: 2.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.4487, allocations: 274.3 kB / 1.341 GB, free: 2.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/0.4494, allocations: 477.9 kB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/0.4504, allocations: 498.6 kB / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4504, allocations: 0 / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001447/0.4518, allocations: 0.7378 MB / 1.343 GB, free: 300 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/0.4519, allocations: 67.39 kB / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4519, allocations: 0 / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4519, allocations: 4 kB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.4523, allocations: 95.83 kB / 1.343 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4524, allocations: 8.156 kB / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.4529, allocations: 103.6 kB / 1.343 GB, free: 8 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.453, allocations: 27.98 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006935/0.4537, allocations: 380.6 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006387/0.4543, allocations: 449.9 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007275/0.455, allocations: 462.6 kB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-06/0.4551, allocations: 3.938 kB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001193/0.4562, allocations: 0.6793 MB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.4563, allocations: 67.55 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.4563, allocations: 8 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.4563, allocations: 4 kB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.4567, allocations: 91.83 kB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4567, allocations: 7.984 kB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.4572, allocations: 95.66 kB / 1.345 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.4573, allocations: 27.98 kB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0002242/0.4575, allocations: 221.8 kB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.4576, allocations: 47.66 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4586, allocations: 469.2 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4586, allocations: 3.984 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4586, allocations: 0 / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.4587, allocations: 59.52 kB / 1.346 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.4587, allocations: 12 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4589, allocations: 27.92 kB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.459, allocations: 28.38 kB / 1.346 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00116/0.4602, allocations: 0.5426 MB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00142/0.4616, allocations: 0.8415 MB / 1.348 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003501/0.4619, allocations: 183.4 kB / 1.348 GB, free: 11.13 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002983/0.4622, allocations: 243.2 kB / 1.348 GB, free: 10.89 MB / 1.045 GB Notification: Performance of Backend: time 6.21e-07/0.4622, allocations: 0 / 1.348 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002094/0.4643, allocations: 0.9879 MB / 1.349 GB, free: 9.824 MB / 1.045 GB Notification: Performance of SimCode: time 0.002092/0.4664, allocations: 1.345 MB / 1.35 GB, free: 8.434 MB / 1.045 GB Notification: Performance of Templates: time 0.01977/0.4862, allocations: 10.39 MB / 1.36 GB, free: 14.19 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithResetScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.597729619999882]