Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001888/0.001888, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001944/0.001944, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.369/3.369, allocations: 429.5 MB / 0.6729 GB, free: 3.824 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.8775 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.431e-05, allocations: 5.406 kB / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.00287/0.002904, allocations: 1.266 MB / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.004507, allocations: 1.022 MB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.004632, allocations: 4.906 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.835e-05/0.00471, allocations: 27.61 kB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.004889, allocations: 36.78 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.005081, allocations: 115.9 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.005483, allocations: 361.4 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.005833, allocations: 166.5 kB / 0.8804 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.006112, allocations: 191.7 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.006258, allocations: 104.7 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.006323, allocations: 44 kB / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.006377, allocations: 49.09 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.006459, allocations: 79.75 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.006572, allocations: 95.8 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006474/0.00722, allocations: 0.5581 MB / 0.8815 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.007224, allocations: 0 / 0.8815 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/0.007225, allocations: 0 / 0.8815 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.007232, allocations: 0.9062 kB / 0.8815 GB, free: 2.512 MB / 0.8386 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.001326/0.008558, allocations: 0.6181 MB / 0.8821 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.008602, allocations: 9.062 kB / 0.8821 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.008735, allocations: 60.75 kB / 0.8821 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.009087, allocations: 216.8 kB / 0.8823 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.009119, allocations: 25.47 kB / 0.8824 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.009168, allocations: 33.03 kB / 0.8824 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.009791, allocations: 284 kB / 0.8827 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.009803, allocations: 192 / 0.8827 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.009835, allocations: 12.38 kB / 0.8827 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.009848, allocations: 8.375 kB / 0.8827 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.01044, allocations: 254.8 kB / 0.8829 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.01197, allocations: 0.9473 MB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.01261, allocations: 255.9 kB / 0.8841 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.01289, allocations: 122.2 kB / 0.8842 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.01292, allocations: 4 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.01295, allocations: 46.84 kB / 0.8843 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 1.172e-06/0.01296, allocations: 0 / 0.8843 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0008692/0.01382, allocations: 323.2 kB / 0.8846 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.01388, allocations: 55.41 kB / 0.8846 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.01408, allocations: 216.3 kB / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.01411, allocations: 29.7 kB / 0.8849 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.01427, allocations: 223.2 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/0.01436, allocations: 95.14 kB / 0.8852 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01446, allocations: 55.59 kB / 0.8852 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002911/0.01475, allocations: 0.5079 MB / 0.8857 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.01497, allocations: 80.42 kB / 0.8858 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.01522, allocations: 129.1 kB / 0.8859 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.01569, allocations: 219.1 kB / 0.8861 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.01569, allocations: 4 kB / 0.8861 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005537/0.01625, allocations: 257.4 kB / 0.8864 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01626, allocations: 7.938 kB / 0.8864 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01627, allocations: 0 / 0.8864 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01628, allocations: 4 kB / 0.8864 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.01654, allocations: 51.91 kB / 0.8864 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01655, allocations: 4 kB / 0.8864 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.01666, allocations: 23.88 kB / 0.8865 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.01668, allocations: 12 kB / 0.8865 GB, free: 13.17 MB / 0.8542 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.0001924/0.01688, allocations: 196.5 kB / 0.8867 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.01693, allocations: 23.91 kB / 0.8867 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.017, allocations: 25.28 kB / 0.8867 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.017, allocations: 0 / 0.8867 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.017, allocations: 0 / 0.8867 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.01701, allocations: 3.984 kB / 0.8867 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.01742, allocations: 296.4 kB / 0.887 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01742, allocations: 0 / 0.887 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.01766, allocations: 51.91 kB / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01766, allocations: 0 / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.01768, allocations: 8 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01768, allocations: 4 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01768, allocations: 0 / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.01832, allocations: 415.7 kB / 0.8874 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.01836, allocations: 19.83 kB / 0.8875 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.01838, allocations: 4 kB / 0.8875 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01851, allocations: 15.98 kB / 0.8875 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.01858, allocations: 19.97 kB / 0.8875 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01859, allocations: 4 kB / 0.8875 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001152/0.01871, allocations: 161 kB / 0.8877 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01871, allocations: 0 / 0.8877 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002905/0.019, allocations: 63.73 kB / 0.8877 GB, free: 11.82 MB / 0.8542 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.0001409/0.01914, allocations: 103.2 kB / 0.8878 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005582/0.0197, allocations: 224.3 kB / 0.888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0197, allocations: 0 / 0.888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.01997, allocations: 127.7 kB / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.02033, allocations: 33.8 kB / 0.8882 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.02159, allocations: 495.1 kB / 0.8887 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.02175, allocations: 137.8 kB / 0.8888 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.144e-05/0.02184, allocations: 21.42 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.02191, allocations: 24.5 kB / 0.8888 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of SimCode: time 5.72e-07/0.02191, allocations: 0 / 0.8888 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of Templates: time 0.005776/0.02768, allocations: 1.829 MB / 0.8906 GB, free: 8.852 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.6277034310624]