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.PIDGain.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.000838/0.000838, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008941/0.0008941, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8719/0.8719, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.734/1.734, allocations: 377.9 MB / 0.6229 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.015e-06/3.015e-06, allocations: 3.984 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.566e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001316/0.001341, allocations: 0.8296 MB / 0.983 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.002137, allocations: 0.8782 MB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.002188, allocations: 4 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.002223, allocations: 11.86 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.002303, allocations: 7.875 kB / 0.9839 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/0.002371, allocations: 35.95 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.002491, allocations: 119.6 kB / 0.9841 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.002618, allocations: 45.08 kB / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.002714, allocations: 67.88 kB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.002778, allocations: 43.83 kB / 0.9842 GB, free: 0 / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.00308, allocations: 12.05 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-06/0.003089, allocations: 8 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.003112, allocations: 27.86 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.003145, allocations: 35.91 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.003284, allocations: 131.6 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003286, allocations: 4 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003287, allocations: 0 / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003291, allocations: 0 / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004566/0.003748, allocations: 358 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.003783, allocations: 8.031 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.003816, allocations: 12.83 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.003981, allocations: 145.7 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.003993, allocations: 8.562 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.004006, allocations: 8.375 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.004235, allocations: 135.5 kB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.004245, allocations: 3.938 kB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.004256, allocations: 4 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004262, allocations: 4 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.004498, allocations: 119.9 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.004891, allocations: 324.3 kB / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.005121, allocations: 94.64 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.00524, allocations: 64.8 kB / 0.9857 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.005253, allocations: 8 kB / 0.9857 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.00527, allocations: 34.5 kB / 0.9857 GB, free: 14.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.005271, allocations: 0 / 0.9857 GB, free: 14.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0004124/0.005683, allocations: 209.6 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.005714, allocations: 55.39 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.005789, allocations: 129 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.0058, allocations: 25.7 kB / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.005851, allocations: 108 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.005868, allocations: 31.73 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.005901, allocations: 25.72 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.005975, allocations: 322.8 kB / 0.9866 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.006082, allocations: 59.94 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.006194, allocations: 69.59 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.006401, allocations: 121.6 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006403, allocations: 0 / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002483/0.006651, allocations: 157.5 kB / 0.987 GB, free: 13.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.006664, allocations: 8 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006669, allocations: 0 / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.006683, allocations: 4.031 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.006766, allocations: 31.97 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.006771, allocations: 400 / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.006826, allocations: 23.92 kB / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.006833, allocations: 4 kB / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.264e-05/0.006896, allocations: 121.7 kB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.006911, allocations: 7.953 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.006933, allocations: 16.78 kB / 0.9872 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006935, allocations: 7.984 kB / 0.9872 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.006939, allocations: 0 / 0.9872 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006942, allocations: 3.938 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.007049, allocations: 145.2 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.007049, allocations: 0 / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.007115, allocations: 27.97 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.007117, allocations: 0 / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.007124, allocations: 4 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007125, allocations: 0 / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007126, allocations: 0 / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.007391, allocations: 263.2 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.007401, allocations: 11.89 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.007411, allocations: 0 / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.007476, allocations: 19.97 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.007522, allocations: 15.98 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.007525, allocations: 192 / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.007564, allocations: 99.27 kB / 0.9877 GB, free: 12.15 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.007564, allocations: 3.938 kB / 0.9877 GB, free: 12.15 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001562/0.00772, allocations: 19.95 kB / 0.9878 GB, free: 12.13 MB / 0.948 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 (8): * Single equations (assignments): 8 * 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 7.347e-05/0.007794, allocations: 107.2 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.00806, allocations: 123.8 kB / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.008062, allocations: 0 / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.00817, allocations: 59.94 kB / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.008389, allocations: 23.98 kB / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.008755, allocations: 233.5 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.008809, allocations: 84.31 kB / 0.9884 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.008849, allocations: 16.5 kB / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/0.008849, allocations: 0 / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of Templates: time 0.001909/0.01076, allocations: 1.343 MB / 0.9897 GB, free: 10.11 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 6.59243880212307]