Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.001892/0.001892, 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.001491/0.001491, allocations: 209.1 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.334/3.334, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [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.003/0.003, allocations: 75.77 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4115, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003877/0.4153, allocations: 1.634 MB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.4174, allocations: 1.283 MB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.4176, allocations: 8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.4178, allocations: 75.19 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.418, allocations: 59.41 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.4184, allocations: 167.8 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.4189, allocations: 485 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.4193, allocations: 195.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.4195, allocations: 183.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.4197, allocations: 199 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.4198, allocations: 55.98 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.202e-05/0.4199, allocations: 52 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.42, allocations: 115.6 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.4201, allocations: 167.1 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.4207, allocations: 0.5912 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4207, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4207, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.4207, allocations: 0 / 1.332 GB, free: 11.7 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001379/0.4221, allocations: 0.7564 MB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4222, allocations: 12.02 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/0.4223, allocations: 52.61 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.4228, allocations: 282.3 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.4228, allocations: 33.31 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.4229, allocations: 40.38 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.4237, allocations: 463 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4237, allocations: 192 / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.4238, allocations: 19.94 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4238, allocations: 8 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.4244, allocations: 283.8 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.4264, allocations: 1.148 MB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.4271, allocations: 234.9 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.4274, allocations: 120.5 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.4274, allocations: 4 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4274, allocations: 34.56 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.4274, allocations: 0 / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007126/0.4281, allocations: 293.3 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.4282, allocations: 106.8 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.4286, allocations: 352.4 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.4286, allocations: 33.7 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4288, allocations: 252 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.4289, allocations: 83.3 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.429, allocations: 69.98 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4292, allocations: 342.8 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.4295, allocations: 122 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.4299, allocations: 307.2 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.4304, allocations: 270.1 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4304, allocations: 0 / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007309/0.4311, allocations: 365.2 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4312, allocations: 8 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4312, allocations: 4 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4312, allocations: 4 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.4315, allocations: 71.89 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4315, allocations: 7.938 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.4318, allocations: 47.72 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.4318, allocations: 15.98 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002819/0.4321, allocations: 204.8 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003004/0.4324, allocations: 290.7 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003396/0.4327, allocations: 226.7 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.4327, allocations: 0 / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005391/0.4332, allocations: 321.1 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.4333, allocations: 8 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.4333, allocations: 0 / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.4333, allocations: 4 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.4335, allocations: 63.91 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4335, allocations: 4 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.4337, allocations: 43.77 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.4337, allocations: 8.219 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001514/0.4339, allocations: 208.7 kB / 1.34 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.434, allocations: 35.89 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.4345, allocations: 234.4 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4345, allocations: 7.922 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4345, allocations: 0 / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.4346, allocations: 39.73 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.4346, allocations: 8 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.4348, allocations: 15.98 kB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.4348, allocations: 7.984 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006426/0.4354, allocations: 312.7 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007805/0.4362, allocations: 0.5017 MB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001923/0.4364, allocations: 89.84 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002763/0.4367, allocations: 239 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of Backend: time 8.22e-07/0.4367, allocations: 0 / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000983/0.4377, allocations: 370 kB / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of SimCode: time 0.001463/0.4391, allocations: 1.064 MB / 1.342 GB, free: 0.793 MB / 1.029 GB Notification: Performance of Templates: time 0.01075/0.4499, allocations: 5.264 MB / 1.348 GB, free: 11.59 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.5551313879987]