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.PIDIntegralTime.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.001657/0.001657, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001998/0.001998, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.034/3.034, allocations: 0.505 GB / 0.8072 GB, free: 2.027 MB / 0.6387 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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [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.002169/0.002169, allocations: 65.31 kB / 1.173 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.9863, allocations: 180.2 MB / 1.349 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002027/0.9883, allocations: 0.8666 MB / 1.35 GB, free: 4.793 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009791/0.9893, allocations: 0.8741 MB / 1.351 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.9893, allocations: 2.531 kB / 1.351 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.9894, allocations: 9.469 kB / 1.351 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.9895, allocations: 11.05 kB / 1.351 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.503e-05/0.9896, allocations: 34.31 kB / 1.351 GB, free: 4.094 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.9897, allocations: 110.9 kB / 1.351 GB, free: 4.039 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.9898, allocations: 47.97 kB / 1.351 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.9899, allocations: 49.2 kB / 1.351 GB, free: 3.977 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.99, allocations: 44.59 kB / 1.351 GB, free: 3.953 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.99, allocations: 12.16 kB / 1.351 GB, free: 3.953 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.99, allocations: 10.84 kB / 1.351 GB, free: 3.953 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.9901, allocations: 26.88 kB / 1.351 GB, free: 3.934 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.9901, allocations: 45.55 kB / 1.351 GB, free: 3.902 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.9903, allocations: 143.6 kB / 1.351 GB, free: 3.852 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9903, allocations: 0 / 1.351 GB, free: 3.852 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9903, allocations: 0 / 1.351 GB, free: 3.852 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.9903, allocations: 0 / 1.351 GB, free: 3.852 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000543/0.9908, allocations: 421.2 kB / 1.352 GB, free: 3.449 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.9909, allocations: 9.344 kB / 1.352 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.9909, allocations: 22.25 kB / 1.352 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.9911, allocations: 195.5 kB / 1.352 GB, free: 3.223 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.9911, allocations: 8.312 kB / 1.352 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.9911, allocations: 11.28 kB / 1.352 GB, free: 3.215 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.9914, allocations: 126 kB / 1.352 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.9915, allocations: 192 / 1.352 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.9915, allocations: 9.219 kB / 1.352 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.9915, allocations: 6.453 kB / 1.352 GB, free: 3.141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.9919, allocations: 107 kB / 1.352 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.9923, allocations: 403.2 kB / 1.352 GB, free: 2.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.9927, allocations: 113.7 kB / 1.353 GB, free: 2.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.9929, allocations: 62.2 kB / 1.353 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.9929, allocations: 1.281 kB / 1.353 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.9929, allocations: 32.03 kB / 1.353 GB, free: 2.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.9929, allocations: 0 / 1.353 GB, free: 2.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006448/0.9936, allocations: 188.8 kB / 1.353 GB, free: 2.582 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.9936, allocations: 52.81 kB / 1.353 GB, free: 2.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.9937, allocations: 112.8 kB / 1.353 GB, free: 2.418 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.9937, allocations: 31.33 kB / 1.353 GB, free: 2.383 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.9937, allocations: 103.5 kB / 1.353 GB, free: 2.285 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.9937, allocations: 29.98 kB / 1.353 GB, free: 2.262 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.9938, allocations: 24.09 kB / 1.353 GB, free: 2.238 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.9938, allocations: 319.5 kB / 1.353 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.994, allocations: 46.25 kB / 1.353 GB, free: 1.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.9942, allocations: 48.34 kB / 1.354 GB, free: 1.898 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.9945, allocations: 97.05 kB / 1.354 GB, free: 1.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9945, allocations: 4 kB / 1.354 GB, free: 1.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004122/0.9949, allocations: 139.3 kB / 1.354 GB, free: 1.801 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.9949, allocations: 5.125 kB / 1.354 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.995, allocations: 1.25 kB / 1.354 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.995, allocations: 3.938 kB / 1.354 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.9951, allocations: 26.44 kB / 1.354 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.9951, allocations: 4.656 kB / 1.354 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.9952, allocations: 16.2 kB / 1.354 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.9952, allocations: 2.156 kB / 1.354 GB, free: 1.789 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 (9): * Single equations (assignments): 9 * 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 6.112e-05/0.9953, allocations: 120.8 kB / 1.354 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.9953, allocations: 7.016 kB / 1.354 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.9954, allocations: 14.78 kB / 1.354 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9954, allocations: 5.156 kB / 1.354 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9954, allocations: 1.672 kB / 1.354 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.9954, allocations: 4.609 kB / 1.354 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.9955, allocations: 210.9 kB / 1.354 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9955, allocations: 0.6562 kB / 1.354 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.9957, allocations: 26.05 kB / 1.354 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9957, allocations: 0 / 1.354 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.9957, allocations: 9.594 kB / 1.354 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9957, allocations: 4.641 kB / 1.354 GB, free: 1.418 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9957, allocations: 0 / 1.354 GB, free: 1.418 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.9961, allocations: 232 kB / 1.354 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.9961, allocations: 88.23 kB / 1.355 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.9961, allocations: 1.75 kB / 1.355 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.9963, allocations: 14.53 kB / 1.355 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.9963, allocations: 10.83 kB / 1.355 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.9963, allocations: 6 kB / 1.355 GB, free: 1.145 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.9964, allocations: 91.31 kB / 1.355 GB, free: 1.066 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9964, allocations: 3.938 kB / 1.355 GB, free: 1.062 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002356/0.9966, allocations: 21.36 kB / 1.355 GB, free: 1.055 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 (9): * Single equations (assignments): 9 * 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.0001083/0.9967, allocations: 109.6 kB / 1.355 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.9971, allocations: 104 kB / 1.355 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9971, allocations: 0 / 1.355 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.9973, allocations: 54.17 kB / 1.355 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.9977, allocations: 15.77 kB / 1.355 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.9981, allocations: 240.1 kB / 1.355 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.9983, allocations: 0.7048 MB / 1.356 GB, free: 24 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.9983, allocations: 13.31 kB / 1.356 GB, free: 16 kB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.9983, allocations: 0 / 1.356 GB, free: 16 kB / 1.045 GB Notification: Performance of Templates: time 0.003115/1.001, allocations: 1.184 MB / 1.357 GB, free: 15.91 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.866134120995412]