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.001693/0.001693, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.00206/0.00206, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.585/1.585, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 3.115/3.115, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] 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.747e-06/3.747e-06, allocations: 0 / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.771e-05/5.146e-05, allocations: 5.375 kB / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.003435/0.003486, allocations: 0.8259 MB / 0.9823 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.005594, allocations: 0.8704 MB / 0.9831 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.005713, allocations: 0 / 0.9831 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.597e-05/0.005779, allocations: 15.86 kB / 0.9831 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.005963, allocations: 15.86 kB / 0.9831 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.006109, allocations: 31.95 kB / 0.9832 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.006386, allocations: 123.7 kB / 0.9833 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.006601, allocations: 37.22 kB / 0.9833 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.006822, allocations: 75.77 kB / 0.9834 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.00693, allocations: 39.88 kB / 0.9834 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.00697, allocations: 8 kB / 0.9835 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.744e-05/0.006998, allocations: 12 kB / 0.9835 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.007042, allocations: 23.92 kB / 0.9835 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.007117, allocations: 35.89 kB / 0.9835 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.007407, allocations: 131.6 kB / 0.9836 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.007415, allocations: 7.922 kB / 0.9837 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.007416, allocations: 0 / 0.9837 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.007424, allocations: 0 / 0.9837 GB, free: 8.598 MB / 0.8887 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.0009797/0.008403, allocations: 362 kB / 0.984 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.008462, allocations: 12.03 kB / 0.984 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.008527, allocations: 8.891 kB / 0.984 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.008825, allocations: 145.7 kB / 0.9842 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.008847, allocations: 8.562 kB / 0.9842 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.008877, allocations: 12.36 kB / 0.9842 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.009419, allocations: 128.5 kB / 0.9843 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.009432, allocations: 4 kB / 0.9843 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.009455, allocations: 4 kB / 0.9843 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.009461, allocations: 0 / 0.9843 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.01012, allocations: 123.8 kB / 0.9844 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000818/0.01094, allocations: 324.3 kB / 0.9847 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.01147, allocations: 98.62 kB / 0.9848 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.0118, allocations: 68.8 kB / 0.9849 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.01182, allocations: 0 / 0.9849 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.01186, allocations: 38.56 kB / 0.9849 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.01186, allocations: 0 / 0.9849 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.00108/0.01294, allocations: 205.4 kB / 0.9851 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.013, allocations: 55.41 kB / 0.9852 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01316, allocations: 129.5 kB / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.0132, allocations: 29.7 kB / 0.9853 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.0133, allocations: 112.1 kB / 0.9854 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.01335, allocations: 31.73 kB / 0.9855 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.01341, allocations: 17.72 kB / 0.9855 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.01361, allocations: 326.8 kB / 0.9858 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.01391, allocations: 55.94 kB / 0.9859 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.01424, allocations: 73.59 kB / 0.9859 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.01486, allocations: 121.6 kB / 0.986 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01486, allocations: 0 / 0.986 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006953/0.01556, allocations: 153.5 kB / 0.9862 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.01559, allocations: 11.98 kB / 0.9862 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.01559, allocations: 4.031 kB / 0.9862 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01561, allocations: 0 / 0.9862 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.01584, allocations: 32.14 kB / 0.9862 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.01585, allocations: 4 kB / 0.9862 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.01603, allocations: 23.91 kB / 0.9863 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.01604, allocations: 7.938 kB / 0.9863 GB, free: 5.738 MB / 0.8887 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 0.0001467/0.01619, allocations: 121.7 kB / 0.9864 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.01623, allocations: 7.953 kB / 0.9864 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.01629, allocations: 20.78 kB / 0.9864 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01629, allocations: 0 / 0.9864 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.0163, allocations: 0 / 0.9864 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.0163, allocations: 0 / 0.9864 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.01659, allocations: 149.2 kB / 0.9865 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01659, allocations: 0 / 0.9865 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.01681, allocations: 31.97 kB / 0.9866 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01681, allocations: 0 / 0.9866 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01682, allocations: 0 / 0.9866 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01682, allocations: 4 kB / 0.9866 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.01683, allocations: 0 / 0.9866 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.0176, allocations: 247.7 kB / 0.9868 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.01763, allocations: 15.83 kB / 0.9868 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.01765, allocations: 0 / 0.9868 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.01786, allocations: 27.97 kB / 0.9869 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.01794, allocations: 3.984 kB / 0.9869 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01795, allocations: 4 kB / 0.9869 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 9.335e-05/0.01804, allocations: 99.27 kB / 0.987 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01804, allocations: 0 / 0.987 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003695/0.01841, allocations: 20 kB / 0.987 GB, free: 4.945 MB / 0.8887 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 0.000177/0.01859, allocations: 95.25 kB / 0.9871 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007599/0.01935, allocations: 131.9 kB / 0.9872 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01935, allocations: 0 / 0.9872 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.01971, allocations: 63.92 kB / 0.9873 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.02035, allocations: 27.98 kB / 0.9873 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.02112, allocations: 213.6 kB / 0.9875 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.02124, allocations: 84.31 kB / 0.9876 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.477e-05/0.02131, allocations: 8 kB / 0.9876 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.02137, allocations: 16.44 kB / 0.9876 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/0.02137, allocations: 0 / 0.9876 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of Templates: time 0.005803/0.02717, allocations: 1.278 MB / 0.9888 GB, free: 3.047 MB / 0.8887 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: 8.571402195841074]