Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.00167/0.00167, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001977/0.001977, allocations: 212.2 kB / 23.01 MB, free: 5.125 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.229/3.229, allocations: 0.49 GB / 0.7958 GB, free: 33.35 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [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.003532/0.003532, allocations: 75.42 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3255, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002277/0.3278, allocations: 0.9862 MB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3289, allocations: 0.9055 MB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.3289, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/0.329, allocations: 15.8 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.3291, allocations: 19.8 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.931e-05/0.3292, allocations: 51.94 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3294, allocations: 156.2 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.3295, allocations: 74.12 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3297, allocations: 63.78 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.3297, allocations: 75.61 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.3298, allocations: 20 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.3298, allocations: 16 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.3298, allocations: 31.92 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.3299, allocations: 67.66 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3301, allocations: 215 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3301, allocations: 4 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3301, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3301, allocations: 0 / 1.33 GB, free: 14.79 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006386/0.3308, allocations: 381.7 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.3308, allocations: 8.031 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.3309, allocations: 16.84 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3311, allocations: 150.3 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3311, allocations: 12.38 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.3311, allocations: 16.38 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3315, allocations: 174.3 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3315, allocations: 192 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3315, allocations: 7.938 kB / 1.331 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3315, allocations: 4 kB / 1.331 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.3319, allocations: 143.8 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.3326, allocations: 475.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.3331, allocations: 154.5 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.3333, allocations: 84.73 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3333, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3333, allocations: 30.56 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3333, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006511/0.334, allocations: 226.8 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.334, allocations: 51.41 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.3341, allocations: 117.8 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3342, allocations: 29.7 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.3342, allocations: 120.3 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.3343, allocations: 43.62 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.3343, allocations: 37.64 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3345, allocations: 322.8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.3347, allocations: 51.95 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.3348, allocations: 56.2 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.3351, allocations: 126.4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3352, allocations: 3.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003884/0.3355, allocations: 165.5 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3356, allocations: 4 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3356, allocations: 0 / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3356, allocations: 7.984 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3358, allocations: 35.98 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3358, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3359, allocations: 23.91 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3359, allocations: 4 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001029/0.336, allocations: 126.2 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.336, allocations: 7.953 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.336, allocations: 12.44 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.336, allocations: 8 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.336, allocations: 0 / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3361, allocations: 3.984 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3363, allocations: 216.5 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3363, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3365, allocations: 39.97 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3365, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3365, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3365, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3365, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.337, allocations: 270.5 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.337, allocations: 19.89 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.337, allocations: 7.984 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3371, allocations: 19.98 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3372, allocations: 7.984 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3372, allocations: 7.938 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.3372, allocations: 99.2 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3372, allocations: 0 / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002309/0.3375, allocations: 23.95 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.000115/0.3376, allocations: 103.2 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.338, allocations: 135.8 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.338, allocations: 0 / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3382, allocations: 67.89 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.3385, allocations: 19.94 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.3391, allocations: 297.8 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3394, allocations: 0.7119 MB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.3395, allocations: 15.44 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3395, allocations: 4 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of Templates: time 0.00314/0.3426, allocations: 1.491 MB / 1.336 GB, free: 7.75 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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: 11.138424974982627]