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.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.000915/0.000915, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001964, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001057/0.001057, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.002286, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9982/0.9982, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09712/1.095, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.593/2.593, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2869/2.88, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.196e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002583/0.002615, allocations: 0.8958 MB / 0.8192 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.004053, allocations: 0.9014 MB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.004128, allocations: 4 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.004168, allocations: 7.875 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.004253, allocations: 15.8 kB / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.015e-05/0.004333, allocations: 31.97 kB / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004475, allocations: 119.7 kB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.004616, allocations: 41.86 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.004746, allocations: 75.81 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.00481, allocations: 35.89 kB / 0.8204 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.004836, allocations: 16 kB / 0.8204 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.004849, allocations: 12 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.004873, allocations: 15.94 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.004912, allocations: 31.88 kB / 0.8204 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.005055, allocations: 67.75 kB / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.822e-05/0.005074, allocations: 0 / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.324e-06/0.005076, allocations: 0 / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.005094, allocations: 0 / 0.8205 GB, free: 0.6523 MB / 0.7917 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.0004754/0.00557, allocations: 332.3 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.005607, allocations: 12.62 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.005641, allocations: 16.92 kB / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.005777, allocations: 135.5 kB / 0.821 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.005787, allocations: 8.562 kB / 0.821 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.005802, allocations: 16.31 kB / 0.821 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.005987, allocations: 97.66 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.005994, allocations: 4 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.006005, allocations: 4 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006011, allocations: 3.984 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.006054, allocations: 16 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.006445, allocations: 247.9 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.006622, allocations: 50.67 kB / 0.8214 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.006658, allocations: 24.78 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.006671, allocations: 0 / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.006699, allocations: 34.56 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.006701, allocations: 0 / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001693/0.00687, allocations: 61.69 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.00691, allocations: 59.34 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.006998, allocations: 126.8 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.00701, allocations: 25.7 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.007076, allocations: 112 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.007097, allocations: 23.77 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.007133, allocations: 25.67 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.007234, allocations: 322.8 kB / 0.8222 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.007253, allocations: 4 kB / 0.8222 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.007294, allocations: 25.7 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/0.007351, allocations: 41.62 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007354, allocations: 0 / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.687e-05/0.007451, allocations: 65.61 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.007471, allocations: 4 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.007479, allocations: 400 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007492, allocations: 4 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.007636, allocations: 31.91 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.00764, allocations: 0 / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.00768, allocations: 11.98 kB / 0.8224 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.007684, allocations: 4.031 kB / 0.8224 GB, free: 14.57 MB / 0.8073 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 7.314e-05/0.007757, allocations: 117.8 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.007777, allocations: 7.938 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.007806, allocations: 16.77 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.007811, allocations: 4 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.007813, allocations: 3.938 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.007817, allocations: 0 / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.007935, allocations: 81.88 kB / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007937, allocations: 0 / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.008008, allocations: 31.97 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.00802, allocations: 15.83 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.008021, allocations: 7.938 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.008027, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.00803, allocations: 3.984 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008032, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.00815, allocations: 151.5 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.008165, allocations: 7.938 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.008219, allocations: 11.98 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.008265, allocations: 11.98 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.00827, allocations: 4 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.008296, allocations: 27.08 kB / 0.8228 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008296, allocations: 0 / 0.8228 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001345/0.00843, allocations: 23.95 kB / 0.8229 GB, free: 14.01 MB / 0.8073 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.0001172/0.008547, allocations: 84.36 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.008644, allocations: 28.84 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.008656, allocations: 4 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.008689, allocations: 32.77 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.008907, allocations: 24.06 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.009465, allocations: 208.9 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.009511, allocations: 63.34 kB / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.00956, allocations: 7.984 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.009642, allocations: 71.36 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of SimCode: time 1.653e-06/0.009644, allocations: 0 / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of Templates: time 0.004109/0.01375, allocations: 1.276 MB / 0.8246 GB, free: 12.22 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.47821247484535]