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.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.001285/0.001285, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.001126/0.001126, allocations: 178.2 kB / 23.21 MB, free: 1.344 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.9501/0.9501, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.782/1.782, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.373e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001465/0.001488, allocations: 0.9159 MB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007368/0.002225, allocations: 0.9249 MB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.002273, allocations: 4 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.002306, allocations: 15.8 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.002372, allocations: 19.75 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.854e-05/0.00244, allocations: 51.94 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.002557, allocations: 172.1 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.00268, allocations: 73.69 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.002774, allocations: 99.78 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.002825, allocations: 51.88 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.002851, allocations: 20 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.002865, allocations: 23.94 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.002895, allocations: 35.89 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.002928, allocations: 47.84 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.003088, allocations: 235 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00309, allocations: 0 / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003091, allocations: 0 / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003094, allocations: 0 / 1.004 GB, free: 10.27 MB / 0.9636 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.000407/0.003501, allocations: 405.9 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.003527, allocations: 8.031 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.003556, allocations: 16.84 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.003684, allocations: 153.9 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.003693, allocations: 8.703 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.003708, allocations: 16.38 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.003957, allocations: 184.7 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-06/0.003963, allocations: 192 / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.003977, allocations: 16.36 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.003982, allocations: 4.375 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.004253, allocations: 172.1 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.00466, allocations: 419.8 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.004856, allocations: 138.5 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.004985, allocations: 84.8 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.004999, allocations: 15.86 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.005016, allocations: 30.56 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 7.31e-07/0.005017, allocations: 0 / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0004201/0.005437, allocations: 249.5 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.005462, allocations: 55.41 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.005529, allocations: 128.5 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.005541, allocations: 29.7 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.005592, allocations: 124.3 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.005616, allocations: 47.58 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.005651, allocations: 25.72 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.00572, allocations: 322.8 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.005839, allocations: 67.94 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.005965, allocations: 94.44 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.006201, allocations: 166.7 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006203, allocations: 0 / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002743/0.006477, allocations: 200.1 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.006489, allocations: 15.98 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.006492, allocations: 4 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.006502, allocations: 0 / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.006606, allocations: 39.91 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.00661, allocations: 4 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.00667, allocations: 27.97 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.006676, allocations: 4 kB / 1.007 GB, free: 6.871 MB / 0.9636 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 6.264e-05/0.006739, allocations: 125.8 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.006756, allocations: 27.78 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.006781, allocations: 12.78 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.006782, allocations: 0 / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.006785, allocations: 4 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006789, allocations: 3.984 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.006906, allocations: 157.3 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006907, allocations: 0 / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.006983, allocations: 35.97 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.006986, allocations: 7.938 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.006993, allocations: 7.938 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006993, allocations: 0 / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006994, allocations: 0 / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.007272, allocations: 291.3 kB / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-06/0.00728, allocations: 7.953 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007291, allocations: 7.938 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.007356, allocations: 19.97 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.007394, allocations: 11.98 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.007398, allocations: 4 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.007437, allocations: 105 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007437, allocations: 0 / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001518/0.007588, allocations: 27.95 kB / 1.007 GB, free: 5.969 MB / 0.9636 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 6.518e-05/0.007654, allocations: 105.5 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.00793, allocations: 155.8 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007932, allocations: 0 / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.008055, allocations: 87.88 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.008249, allocations: 28.03 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.008624, allocations: 310.8 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.008682, allocations: 102.9 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.008725, allocations: 16.5 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.008725, allocations: 0 / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of Templates: time 0.001864/0.01059, allocations: 1.686 MB / 1.01 GB, free: 3.449 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.548228516243398]