Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001868/0.001868, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002647/0.002647, allocations: 168.8 kB / 23.01 MB, free: 4.598 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.536/1.536, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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 3/3, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 59.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002438/1.07, allocations: 1.147 MB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001259/1.071, allocations: 0.9964 MB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/1.071, allocations: 4.75 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 7.165e-05/1.071, allocations: 26.02 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/1.071, allocations: 39.09 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/1.071, allocations: 92.8 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/1.072, allocations: 305.9 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/1.072, allocations: 137.7 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/1.072, allocations: 120.8 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/1.072, allocations: 99.28 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/1.072, allocations: 35.81 kB / 1.19 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/1.072, allocations: 36.16 kB / 1.19 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/1.073, allocations: 68.59 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/1.073, allocations: 108.8 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005329/1.073, allocations: 451.7 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.073, allocations: 1.281 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.304e-06/1.073, allocations: 0 / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.674e-06/1.073, allocations: 0 / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008112/1.074, allocations: 483.7 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.074, allocations: 8.594 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/1.074, allocations: 25.83 kB / 1.191 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/1.074, allocations: 208 kB / 1.191 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/1.074, allocations: 19.69 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/1.074, allocations: 24.34 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/1.075, allocations: 257.7 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.075, allocations: 1.5 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/1.075, allocations: 17.25 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/1.075, allocations: 6.438 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/1.076, allocations: 239.3 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/1.077, allocations: 0.5957 MB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/1.077, allocations: 205.3 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/1.078, allocations: 123.6 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/1.078, allocations: 2.562 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/1.078, allocations: 32.38 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/1.078, allocations: 0.75 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0009499/1.078, allocations: 319.1 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/1.079, allocations: 54.2 kB / 1.193 GB, free: 12.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/1.079, allocations: 138.6 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/1.079, allocations: 30.89 kB / 1.193 GB, free: 12.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/1.079, allocations: 155.7 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/1.079, allocations: 68.64 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/1.079, allocations: 38.61 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/1.079, allocations: 327.1 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/1.079, allocations: 85.34 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/1.079, allocations: 97.95 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/1.08, allocations: 192.2 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.08, allocations: 1.062 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006033/1.081, allocations: 237.7 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.081, allocations: 9.875 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.081, allocations: 1.094 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.081, allocations: 1.125 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/1.081, allocations: 58.22 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.081, allocations: 0.875 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/1.081, allocations: 34.44 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/1.081, allocations: 8.906 kB / 1.194 GB, free: 11.46 MB / 1.076 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 (21): * Single equations (assignments): 21 * 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.0001008/1.081, allocations: 137.8 kB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/1.081, allocations: 14.88 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/1.081, allocations: 20.58 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.081, allocations: 2.875 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.081, allocations: 1.125 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.081, allocations: 5.438 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/1.081, allocations: 209.9 kB / 1.194 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.081, allocations: 4 kB / 1.194 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/1.082, allocations: 55.25 kB / 1.195 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.082, allocations: 5.688 kB / 1.195 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.082, allocations: 5.703 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.082, allocations: 5.031 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.082, allocations: 0 / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/1.082, allocations: 332.6 kB / 1.195 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/1.082, allocations: 16.88 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/1.082, allocations: 10.16 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/1.083, allocations: 21.56 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/1.083, allocations: 16.89 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/1.083, allocations: 3.562 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.4e-05/1.083, allocations: 112.6 kB / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.083, allocations: 0 / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002834/1.083, allocations: 47.97 kB / 1.195 GB, free: 10.79 MB / 1.076 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 (20): * Single equations (assignments): 20 * 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 9.547e-05/1.083, allocations: 105.3 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006392/1.084, allocations: 196 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.084, allocations: 1.125 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/1.084, allocations: 104 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/1.084, allocations: 30.66 kB / 1.195 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/1.085, allocations: 423.9 kB / 1.196 GB, free: 10.33 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/1.085, allocations: 127.8 kB / 1.196 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.613e-05/1.085, allocations: 14.52 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/1.086, allocations: 18.92 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/1.086, allocations: 4 kB / 1.196 GB, free: 10.24 MB / 1.076 GB Notification: Performance of Templates: time 0.005564/1.091, allocations: 1.717 MB / 1.198 GB, free: 10.04 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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: 9.542517854017206]