Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001383/0.001383, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001634/0.001634, allocations: 220.5 kB / 23 MB, free: 4.914 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.485/1.485, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.372/3.372, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002132/0.002132, allocations: 65.38 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002253/0.3394, allocations: 0.9091 MB / 1.366 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3406, allocations: 0.8987 MB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.3407, allocations: 4 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.3407, allocations: 11.81 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/0.3408, allocations: 19.78 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.3409, allocations: 47.95 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.3411, allocations: 152.2 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.3413, allocations: 89.02 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.834e-05/0.3414, allocations: 51.84 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.3415, allocations: 63.69 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.3416, allocations: 16 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.3416, allocations: 16 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3416, allocations: 35.86 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.3417, allocations: 59.72 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.3419, allocations: 211.1 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3419, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3419, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3419, allocations: 4 kB / 1.367 GB, free: 11.03 MB / 1.061 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.0006522/0.3426, allocations: 373.8 kB / 1.368 GB, free: 10.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3426, allocations: 12.03 kB / 1.368 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.3427, allocations: 24.72 kB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3429, allocations: 150.3 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3429, allocations: 16.36 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.343, allocations: 12.38 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.3434, allocations: 169.7 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3434, allocations: 4.172 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.3434, allocations: 11.94 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3434, allocations: 7.938 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.3439, allocations: 139.9 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.3445, allocations: 403.9 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.345, allocations: 154.6 kB / 1.369 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.3452, allocations: 76.75 kB / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3452, allocations: 0 / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3453, allocations: 34.56 kB / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.3453, allocations: 4 kB / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006679/0.3459, allocations: 216.4 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.346, allocations: 59.41 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3461, allocations: 113.8 kB / 1.369 GB, free: 8.949 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3461, allocations: 33.69 kB / 1.369 GB, free: 8.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.3462, allocations: 124.3 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.3462, allocations: 43.59 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.3463, allocations: 25.72 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3464, allocations: 326.8 kB / 1.37 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.3466, allocations: 51.95 kB / 1.37 GB, free: 8.332 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3469, allocations: 51.95 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.3472, allocations: 126.3 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3472, allocations: 0 / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004323/0.3476, allocations: 169.5 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3477, allocations: 4 kB / 1.37 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3477, allocations: 0 / 1.37 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3477, allocations: 4 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.3479, allocations: 43.91 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3479, allocations: 0 / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.348, allocations: 23.88 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.348, allocations: 4 kB / 1.37 GB, free: 7.906 MB / 1.061 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.0001087/0.3481, allocations: 117.8 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.3481, allocations: 11.89 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.3482, allocations: 20.42 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3482, allocations: 0 / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3482, allocations: 11.94 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3482, allocations: 0 / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.3484, allocations: 161.3 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3484, allocations: 3.938 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.3486, allocations: 43.84 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3486, allocations: 0 / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3486, allocations: 8 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3486, allocations: 0 / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3486, allocations: 0 / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.3491, allocations: 266.4 kB / 1.371 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.3491, allocations: 19.83 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3491, allocations: 4 kB / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3492, allocations: 15.97 kB / 1.371 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3493, allocations: 11.98 kB / 1.371 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3493, allocations: 3.938 kB / 1.371 GB, free: 7.164 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.92e-05/0.3494, allocations: 95.27 kB / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3494, allocations: 4 kB / 1.371 GB, free: 7.066 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002448/0.3496, allocations: 23.95 kB / 1.371 GB, free: 7.043 MB / 1.061 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.0001153/0.3497, allocations: 103.2 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.3502, allocations: 131.8 kB / 1.371 GB, free: 6.805 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3502, allocations: 0 / 1.371 GB, free: 6.805 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3504, allocations: 71.94 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3507, allocations: 12 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.3513, allocations: 304.3 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.3514, allocations: 101.6 kB / 1.372 GB, free: 6.273 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.3515, allocations: 15.44 kB / 1.372 GB, free: 6.258 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3515, allocations: 0 / 1.372 GB, free: 6.258 MB / 1.061 GB Notification: Performance of Templates: time 0.003556/0.3551, allocations: 1.555 MB / 1.373 GB, free: 4.715 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.350102071184665]