Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001844/0.001844, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00222/0.00222, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.493/1.493, 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.981/2.981, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.606e-06/3.606e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.748e-05/5.109e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.004165/0.004216, allocations: 1.143 MB / 0.8119 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.006116, allocations: 1.005 MB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.006299, allocations: 4 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.976e-05/0.006398, allocations: 23.67 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.0066, allocations: 43.53 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.006808, allocations: 92.94 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.00724, allocations: 311.3 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.007695, allocations: 135 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.008011, allocations: 179.7 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.008165, allocations: 84.64 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.008222, allocations: 32 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.712e-05/0.008269, allocations: 37.09 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.308e-05/0.008352, allocations: 71.8 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.008461, allocations: 83.77 kB / 0.814 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.009042, allocations: 463.2 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.009047, allocations: 0 / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.473e-06/0.009048, allocations: 5.188 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.00906, allocations: 0 / 0.8144 GB, free: 14.41 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001075/0.01013, allocations: 480.3 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.01018, allocations: 8.031 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.0103, allocations: 48.75 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.01067, allocations: 205.9 kB / 0.8151 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.01071, allocations: 17.03 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.01075, allocations: 24.38 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.01142, allocations: 260 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01144, allocations: 8.172 kB / 0.8154 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.01147, allocations: 9.812 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.01148, allocations: 8.375 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.01221, allocations: 240.1 kB / 0.8157 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.01342, allocations: 0.6043 MB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.01407, allocations: 204 kB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.01441, allocations: 111.1 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.01443, allocations: 4 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.01447, allocations: 39.08 kB / 0.8166 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.01447, allocations: 0 / 0.8166 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.00109/0.01556, allocations: 325.7 kB / 0.8169 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.01562, allocations: 55.41 kB / 0.8169 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.01578, allocations: 137.2 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.0158, allocations: 33.7 kB / 0.8171 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.01594, allocations: 156.6 kB / 0.8173 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.01602, allocations: 79.97 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.01609, allocations: 29.72 kB / 0.8174 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.01629, allocations: 327.7 kB / 0.8177 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.01659, allocations: 81.5 kB / 0.8178 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.0169, allocations: 105.3 kB / 0.8179 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/0.01749, allocations: 199.2 kB / 0.818 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0175, allocations: 0 / 0.818 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006984/0.0182, allocations: 247.8 kB / 0.8183 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01821, allocations: 4 kB / 0.8183 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01822, allocations: 0 / 0.8183 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.01824, allocations: 4 kB / 0.8183 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.01852, allocations: 50.95 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.01853, allocations: 4 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.01869, allocations: 27.92 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.0187, allocations: 4 kB / 0.8184 GB, free: 10.2 MB / 0.7761 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.0001606/0.01886, allocations: 148.8 kB / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.01892, allocations: 19.91 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.01897, allocations: 21.12 kB / 0.8186 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.01898, allocations: 0 / 0.8186 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.01898, allocations: 3.984 kB / 0.8186 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01899, allocations: 7.984 kB / 0.8186 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.01931, allocations: 217.1 kB / 0.8188 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01931, allocations: 0 / 0.8188 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.01958, allocations: 49.94 kB / 0.8188 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.01959, allocations: 4 kB / 0.8188 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01961, allocations: 4 kB / 0.8188 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01961, allocations: 1.125 kB / 0.8188 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01961, allocations: 0 / 0.8188 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.02036, allocations: 343.4 kB / 0.8192 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.02039, allocations: 15.84 kB / 0.8192 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.02041, allocations: 4 kB / 0.8192 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.02058, allocations: 21.62 kB / 0.8192 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.02066, allocations: 15.97 kB / 0.8192 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.02067, allocations: 4 kB / 0.8192 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.432e-05/0.02076, allocations: 107.8 kB / 0.8193 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02076, allocations: 4.938 kB / 0.8193 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002986/0.02106, allocations: 51.78 kB / 0.8194 GB, free: 9.129 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 (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 0.0001511/0.02121, allocations: 108.2 kB / 0.8195 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006647/0.02188, allocations: 196.3 kB / 0.8197 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02188, allocations: 0 / 0.8197 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.02219, allocations: 108.1 kB / 0.8198 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.02262, allocations: 31.83 kB / 0.8198 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.02359, allocations: 429.5 kB / 0.8202 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.02374, allocations: 125.7 kB / 0.8203 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.134e-05/0.02383, allocations: 13.48 kB / 0.8203 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.02391, allocations: 24.5 kB / 0.8204 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.02391, allocations: 4 kB / 0.8204 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of Templates: time 0.00575/0.02966, allocations: 1.715 MB / 0.822 GB, free: 6.398 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.233333223965019]