Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001737/0.001737, allocations: 84.39 kB / 20.23 MB, free: 4.32 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.002122/0.002122, allocations: 165.6 kB / 23.54 MB, free: 1.012 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 1.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.945/2.945, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.406e-06/3.406e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/3.064e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002686/0.002716, allocations: 1.209 MB / 0.812 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.004321, allocations: 1.031 MB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004422, allocations: 4 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.381e-05/0.004505, allocations: 32.12 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.004667, allocations: 40.28 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.004868, allocations: 116.8 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.00528, allocations: 348.4 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.005628, allocations: 163.2 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.005908, allocations: 200.5 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.006051, allocations: 99.67 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/0.006121, allocations: 49.25 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.006177, allocations: 44 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.006262, allocations: 83.8 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.006385, allocations: 101.4 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008589/0.007244, allocations: 0.5529 MB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007248, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.263e-06/0.007249, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.007254, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009747/0.008229, allocations: 0.5007 MB / 0.8153 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.008265, allocations: 8.031 kB / 0.8153 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.008381, allocations: 60.75 kB / 0.8153 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.008734, allocations: 211.2 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.008763, allocations: 21.03 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.008816, allocations: 36.31 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.00955, allocations: 316.3 kB / 0.8159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.009561, allocations: 192 / 0.8159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.009594, allocations: 17.28 kB / 0.8159 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.009607, allocations: 8.375 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.01039, allocations: 289.9 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.01166, allocations: 0.701 MB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.01237, allocations: 256.2 kB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.01275, allocations: 130.8 kB / 0.8172 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.01277, allocations: 4 kB / 0.8172 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.01281, allocations: 35.09 kB / 0.8173 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.01281, allocations: 0 / 0.8173 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.001159/0.01397, allocations: 379.3 kB / 0.8176 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.01403, allocations: 56.12 kB / 0.8177 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.01419, allocations: 143.5 kB / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.01422, allocations: 34.52 kB / 0.8179 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.01437, allocations: 168.5 kB / 0.818 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/0.01446, allocations: 84.16 kB / 0.8181 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.01455, allocations: 45.94 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.01475, allocations: 332.1 kB / 0.8185 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.01505, allocations: 89.28 kB / 0.8185 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.0154, allocations: 130.5 kB / 0.8187 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.01604, allocations: 236.5 kB / 0.8189 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01604, allocations: 3.984 kB / 0.8189 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007598/0.0168, allocations: 282.4 kB / 0.8192 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.01683, allocations: 8 kB / 0.8192 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01683, allocations: 0 / 0.8192 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.01685, allocations: 1.125 kB / 0.8192 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.01716, allocations: 68.86 kB / 0.8192 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.01717, allocations: 4 kB / 0.8192 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.01735, allocations: 36.31 kB / 0.8193 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.01736, allocations: 4.594 kB / 0.8193 GB, free: 9.242 MB / 0.7761 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 (27): * Single equations (assignments): 27 * 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.0001777/0.01754, allocations: 155.1 kB / 0.8194 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.0176, allocations: 27.89 kB / 0.8195 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.01765, allocations: 17.28 kB / 0.8195 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.01766, allocations: 4.75 kB / 0.8195 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.01767, allocations: 0 / 0.8195 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01767, allocations: 4.578 kB / 0.8195 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.01803, allocations: 241 kB / 0.8197 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01803, allocations: 1.094 kB / 0.8197 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.01834, allocations: 60.55 kB / 0.8198 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.01835, allocations: 4 kB / 0.8198 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.01836, allocations: 5.531 kB / 0.8198 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.01837, allocations: 3.938 kB / 0.8198 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01837, allocations: 0 / 0.8198 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.01917, allocations: 386.8 kB / 0.8202 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.01921, allocations: 15.84 kB / 0.8202 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.01923, allocations: 8 kB / 0.8202 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.01942, allocations: 19.97 kB / 0.8202 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.01949, allocations: 23.97 kB / 0.8202 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.01951, allocations: 4.906 kB / 0.8202 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.368e-05/0.0196, allocations: 108.6 kB / 0.8203 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0196, allocations: 1.094 kB / 0.8203 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00031/0.01991, allocations: 59.78 kB / 0.8204 GB, free: 8.074 MB / 0.7761 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 (25): * Single equations (assignments): 25 * 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.000151/0.02006, allocations: 110.7 kB / 0.8205 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007126/0.02077, allocations: 223.7 kB / 0.8207 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02078, allocations: 0 / 0.8207 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.02111, allocations: 122.2 kB / 0.8208 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.02152, allocations: 39.69 kB / 0.8209 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02252, allocations: 477.5 kB / 0.8213 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.02292, allocations: 145.7 kB / 0.8215 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.02302, allocations: 21.47 kB / 0.8215 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.0231, allocations: 20.5 kB / 0.8215 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.0231, allocations: 0 / 0.8215 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of Templates: time 0.005711/0.02881, allocations: 1.819 MB / 0.8233 GB, free: 5.117 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.054535529925488]