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.00141/0.00141, allocations: 79.12 kB / 19.18 MB, free: 2.516 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.001674/0.001674, allocations: 166.2 kB / 22.46 MB, free: 5.375 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.55/1.55, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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.991/2.991, allocations: 377.8 MB / 0.6221 GB, free: 12.64 MB / 0.5919 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.326e-06/3.326e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.762e-05/4.095e-05, allocations: 6.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002642/0.002683, allocations: 1.136 MB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.004276, allocations: 1.003 MB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.004401, allocations: 4 kB / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.654e-05/0.004487, allocations: 23.67 kB / 0.9836 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.004647, allocations: 39.59 kB / 0.9836 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.004827, allocations: 99.89 kB / 0.9837 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.005171, allocations: 311.2 kB / 0.984 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.005482, allocations: 134 kB / 0.9841 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.00572, allocations: 175.7 kB / 0.9843 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.005852, allocations: 95.69 kB / 0.9844 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.00591, allocations: 36 kB / 0.9844 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.344e-05/0.005954, allocations: 32 kB / 0.9844 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.006018, allocations: 67.81 kB / 0.9845 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.624e-05/0.006115, allocations: 79.83 kB / 0.9846 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.006671, allocations: 466.4 kB / 0.985 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.006678, allocations: 7.938 kB / 0.985 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.006679, allocations: 0 / 0.985 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.006686, allocations: 0 / 0.985 GB, free: 8.305 MB / 0.9356 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.0008993/0.007585, allocations: 485.8 kB / 0.9855 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.007629, allocations: 8.031 kB / 0.9855 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.00769, allocations: 28.8 kB / 0.9855 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.008044, allocations: 206 kB / 0.9857 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.008064, allocations: 17.03 kB / 0.9857 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.008108, allocations: 28.36 kB / 0.9858 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.008732, allocations: 262.6 kB / 0.986 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.008744, allocations: 192 / 0.986 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.008771, allocations: 8.375 kB / 0.986 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.008782, allocations: 8.375 kB / 0.986 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006769/0.009459, allocations: 242.4 kB / 0.9863 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01049, allocations: 0.5938 MB / 0.9868 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.01108, allocations: 206.7 kB / 0.987 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.0114, allocations: 108.7 kB / 0.9871 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.01142, allocations: 4 kB / 0.9871 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.01146, allocations: 34.56 kB / 0.9872 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.01146, allocations: 0 / 0.9872 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.00106/0.01252, allocations: 328.2 kB / 0.9875 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.01256, allocations: 51.41 kB / 0.9875 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01272, allocations: 139.9 kB / 0.9877 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.01275, allocations: 29.7 kB / 0.9877 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01287, allocations: 156.6 kB / 0.9879 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.01294, allocations: 75.33 kB / 0.9879 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.01301, allocations: 37.7 kB / 0.988 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.01317, allocations: 322.8 kB / 0.9883 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.01345, allocations: 79.88 kB / 0.9883 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.01374, allocations: 107.3 kB / 0.9884 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.0143, allocations: 187.7 kB / 0.9886 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0143, allocations: 4 kB / 0.9886 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006535/0.01496, allocations: 245.3 kB / 0.9889 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01498, allocations: 4 kB / 0.9889 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.01499, allocations: 4 kB / 0.9889 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.01501, allocations: 0 / 0.9889 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.01529, allocations: 55.95 kB / 0.9889 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01529, allocations: 3.938 kB / 0.9889 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.01545, allocations: 27.95 kB / 0.989 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01547, allocations: 8 kB / 0.989 GB, free: 4.094 MB / 0.9356 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.0001731/0.01564, allocations: 141.7 kB / 0.9891 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.01568, allocations: 19.89 kB / 0.9891 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.01574, allocations: 17.12 kB / 0.9891 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01574, allocations: 4 kB / 0.9891 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.01575, allocations: 3.984 kB / 0.9891 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01575, allocations: 0 / 0.9891 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.01604, allocations: 213.1 kB / 0.9893 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01604, allocations: 0 / 0.9893 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.0163, allocations: 59.91 kB / 0.9894 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01631, allocations: 0 / 0.9894 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01632, allocations: 0 / 0.9894 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.01632, allocations: 0 / 0.9894 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01632, allocations: 4 kB / 0.9894 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.01702, allocations: 337.7 kB / 0.9897 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.01704, allocations: 15.84 kB / 0.9897 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.01707, allocations: 8 kB / 0.9897 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.01724, allocations: 19.91 kB / 0.9898 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.01731, allocations: 19.97 kB / 0.9898 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01732, allocations: 4 kB / 0.9898 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.777e-05/0.01741, allocations: 109.3 kB / 0.9899 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01741, allocations: 0 / 0.9899 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002891/0.0177, allocations: 51.84 kB / 0.9899 GB, free: 3.031 MB / 0.9356 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.0001435/0.01784, allocations: 103.2 kB / 0.99 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006626/0.01851, allocations: 195.7 kB / 0.9902 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01851, allocations: 0 / 0.9902 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.01882, allocations: 103.9 kB / 0.9903 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.01925, allocations: 32.73 kB / 0.9904 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.02019, allocations: 410.6 kB / 0.9908 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.02033, allocations: 141.8 kB / 0.9909 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.232e-05/0.02041, allocations: 13.48 kB / 0.9909 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.02048, allocations: 24.5 kB / 0.9909 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.02048, allocations: 0 / 0.9909 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.005618/0.0261, allocations: 1.697 MB / 0.9926 GB, free: 324 kB / 0.9356 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.508514445275068]