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.001647/0.001647, 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.002041/0.002041, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.253/3.253, allocations: 0.505 GB / 0.8108 GB, free: 22.08 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.00207/0.00207, allocations: 67.58 kB / 1.178 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3403, allocations: 180.2 MB / 1.354 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002308/0.3426, allocations: 0.9749 MB / 1.355 GB, free: 7.023 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3438, allocations: 0.9055 MB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.3439, allocations: 0 / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.3439, allocations: 15.8 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.344, allocations: 19.81 kB / 1.356 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.708e-05/0.3441, allocations: 47.95 kB / 1.356 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.3443, allocations: 156.2 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.3445, allocations: 77.08 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3446, allocations: 59.84 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.348e-05/0.3447, allocations: 67.69 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.3448, allocations: 20 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.29e-05/0.3448, allocations: 16 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.3448, allocations: 35.86 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.3449, allocations: 75.64 kB / 1.357 GB, free: 5.52 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.3451, allocations: 215.1 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3451, allocations: 0 / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3452, allocations: 7.938 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3452, allocations: 0 / 1.357 GB, free: 5.301 MB / 1.045 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.0006505/0.3458, allocations: 377.7 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3458, allocations: 8.031 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3459, allocations: 24.78 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.3461, allocations: 150.3 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3461, allocations: 16.38 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.3462, allocations: 16.36 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.3466, allocations: 161.7 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3466, allocations: 192 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3466, allocations: 11.94 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3466, allocations: 4 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.347, allocations: 143.9 kB / 1.358 GB, free: 4.344 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.3477, allocations: 471.3 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.3482, allocations: 154.5 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3484, allocations: 76.8 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3484, allocations: 4 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3484, allocations: 34.56 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.3484, allocations: 0 / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0006487/0.3491, allocations: 216 kB / 1.359 GB, free: 3.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3491, allocations: 55.39 kB / 1.359 GB, free: 3.273 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3492, allocations: 117.8 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3493, allocations: 33.64 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.3493, allocations: 120.3 kB / 1.359 GB, free: 2.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.3494, allocations: 51.58 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.3494, allocations: 29.7 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3496, allocations: 326.8 kB / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3498, allocations: 47.97 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3499, allocations: 55.95 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.3503, allocations: 122.9 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3503, allocations: 7.875 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004085/0.3507, allocations: 169.6 kB / 1.36 GB, free: 2.172 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3507, allocations: 4 kB / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3507, allocations: 0 / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3507, allocations: 4 kB / 1.36 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.3509, allocations: 39.91 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3509, allocations: 0 / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-05/0.351, allocations: 23.91 kB / 1.36 GB, free: 2.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.351, allocations: 0 / 1.36 GB, free: 2.102 MB / 1.045 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.0001179/0.3511, allocations: 134.4 kB / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.3512, allocations: 11.91 kB / 1.36 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.3512, allocations: 20.44 kB / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3512, allocations: 4 kB / 1.36 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3512, allocations: 0 / 1.36 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3512, allocations: 0 / 1.36 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.3515, allocations: 208.6 kB / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3515, allocations: 0 / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.3517, allocations: 47.91 kB / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3517, allocations: 0 / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3517, allocations: 0 / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3517, allocations: 4 kB / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3517, allocations: 0 / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.3521, allocations: 263.4 kB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.3522, allocations: 19.88 kB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3522, allocations: 0 / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3523, allocations: 19.97 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.3524, allocations: 7.984 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3524, allocations: 7.938 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.105e-05/0.3524, allocations: 99.64 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3524, allocations: 0 / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002464/0.3527, allocations: 23.95 kB / 1.361 GB, free: 1.18 MB / 1.045 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.0001351/0.3528, allocations: 103.2 kB / 1.361 GB, free: 1.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.3532, allocations: 135 kB / 1.361 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3532, allocations: 3.938 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3534, allocations: 75.88 kB / 1.361 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3538, allocations: 23.92 kB / 1.361 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.3545, allocations: 300.4 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.3548, allocations: 0.7158 MB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.3549, allocations: 11.44 kB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3549, allocations: 0 / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of Templates: time 0.003435/0.3583, allocations: 1.502 MB / 1.363 GB, free: 14.27 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.431619451992447]