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.PIGain.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.001763/0.001763, allocations: 80.2 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.002183/0.002183, allocations: 168.8 kB / 22.46 MB, free: 5.355 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.734/1.734, allocations: 177.2 MB / 202.8 MB, free: 9.16 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 2.917/2.917, allocations: 377.8 MB / 0.6221 GB, free: 12.59 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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/4.035e-05, allocations: 10.22 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002382/0.002423, allocations: 0.9334 MB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003768, allocations: 0.9133 MB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.003839, allocations: 4 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.459e-05/0.003894, allocations: 19.73 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.004021, allocations: 11.81 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.004141, allocations: 59.94 kB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.004377, allocations: 172.1 kB / 0.9835 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.004643, allocations: 72.88 kB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.004821, allocations: 95.84 kB / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.004914, allocations: 51.81 kB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.004949, allocations: 20 kB / 0.9837 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.004977, allocations: 16 kB / 0.9838 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.005028, allocations: 43.83 kB / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.005091, allocations: 47.91 kB / 0.9838 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.005388, allocations: 231.2 kB / 0.9841 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.005392, allocations: 0 / 0.9841 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.402e-06/0.005393, allocations: 4 kB / 0.9841 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.005398, allocations: 0 / 0.9841 GB, free: 9.234 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008631/0.006261, allocations: 405.9 kB / 0.9845 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.00631, allocations: 11.97 kB / 0.9845 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.006363, allocations: 16.84 kB / 0.9845 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.006629, allocations: 149.9 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.00665, allocations: 12.7 kB / 0.9846 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.006696, allocations: 24.38 kB / 0.9847 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.007234, allocations: 184.6 kB / 0.9848 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007245, allocations: 192 / 0.9848 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.007267, allocations: 8.375 kB / 0.9848 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.007275, allocations: 4.375 kB / 0.9849 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.007889, allocations: 180.1 kB / 0.985 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.008723, allocations: 404 kB / 0.9854 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.009142, allocations: 134.5 kB / 0.9855 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.009443, allocations: 88.78 kB / 0.9856 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.009465, allocations: 7.938 kB / 0.9856 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.009499, allocations: 30.56 kB / 0.9857 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.009501, allocations: 0 / 0.9857 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0009459/0.01045, allocations: 257.4 kB / 0.9859 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.01051, allocations: 51.41 kB / 0.986 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.01064, allocations: 134 kB / 0.9861 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.01067, allocations: 29.7 kB / 0.9861 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01078, allocations: 120.4 kB / 0.9862 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.01082, allocations: 47.58 kB / 0.9863 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.01088, allocations: 33.7 kB / 0.9863 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.01105, allocations: 318.8 kB / 0.9866 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.01133, allocations: 67.94 kB / 0.9867 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.0116, allocations: 93.84 kB / 0.9868 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.01212, allocations: 173.9 kB / 0.9869 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01213, allocations: 3.938 kB / 0.9869 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000597/0.01272, allocations: 201.4 kB / 0.9871 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.01274, allocations: 4 kB / 0.9871 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01275, allocations: 4 kB / 0.9871 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01276, allocations: 0 / 0.9871 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.01299, allocations: 43.91 kB / 0.9872 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.013, allocations: 4 kB / 0.9872 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.01314, allocations: 31.92 kB / 0.9872 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01315, allocations: 0 / 0.9872 GB, free: 5.832 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001305/0.01328, allocations: 125.8 kB / 0.9873 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.01332, allocations: 11.89 kB / 0.9873 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.01336, allocations: 20.77 kB / 0.9874 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01337, allocations: 0 / 0.9874 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.01337, allocations: 3.984 kB / 0.9874 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01338, allocations: 0 / 0.9874 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.01362, allocations: 173.2 kB / 0.9875 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01362, allocations: 0 / 0.9875 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.01381, allocations: 39.91 kB / 0.9876 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.01381, allocations: 3.938 kB / 0.9876 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01382, allocations: 4 kB / 0.9876 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01382, allocations: 0 / 0.9876 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01382, allocations: 0 / 0.9876 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.01456, allocations: 291.4 kB / 0.9879 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.01458, allocations: 11.89 kB / 0.9879 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.01461, allocations: 7.938 kB / 0.9879 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.01476, allocations: 19.97 kB / 0.9879 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.01482, allocations: 7.984 kB / 0.9879 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01483, allocations: 8 kB / 0.9879 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.0149, allocations: 95.27 kB / 0.988 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.0149, allocations: 0 / 0.988 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002757/0.01518, allocations: 35.84 kB / 0.988 GB, free: 4.934 MB / 0.9356 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 (13): * Single equations (assignments): 13 * 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.0001535/0.01533, allocations: 115.2 kB / 0.9881 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005768/0.01591, allocations: 151.8 kB / 0.9883 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.01591, allocations: 0 / 0.9883 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.01625, allocations: 91.25 kB / 0.9884 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.01665, allocations: 19.98 kB / 0.9884 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.01733, allocations: 288.8 kB / 0.9887 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.01746, allocations: 102.9 kB / 0.9888 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.381e-05/0.01752, allocations: 12.48 kB / 0.9888 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.01758, allocations: 16.5 kB / 0.9888 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.01758, allocations: 0 / 0.9888 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.005037/0.02261, allocations: 1.413 MB / 0.9902 GB, free: 2.758 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.637092135846615]