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.001892/0.001892, allocations: 88.72 kB / 19.44 MB, free: 356 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.002703/0.002703, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.274/3.274, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.575e-06/2.575e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.83e-05, allocations: 3.75 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002907/0.002935, allocations: 1.208 MB / 0.8788 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.004603, allocations: 1.035 MB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.004748, allocations: 7.688 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.372e-05/0.004842, allocations: 27.61 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.004999, allocations: 39.59 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.005211, allocations: 115.9 kB / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.005645, allocations: 352.4 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.005988, allocations: 158.5 kB / 0.8805 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.006288, allocations: 203.6 kB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.006538, allocations: 93.78 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.006606, allocations: 47.94 kB / 0.8808 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.206e-05/0.006679, allocations: 48 kB / 0.8808 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.227e-05/0.006761, allocations: 83.8 kB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.006884, allocations: 99.73 kB / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.007541, allocations: 0.5538 MB / 0.8816 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.007543, allocations: 0 / 0.8816 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.007544, allocations: 0 / 0.8816 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.007553, allocations: 1.125 kB / 0.8816 GB, free: 2.438 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.001079/0.008632, allocations: 0.5076 MB / 0.8821 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.008671, allocations: 8.031 kB / 0.8821 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.008797, allocations: 61.81 kB / 0.8821 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.00915, allocations: 210 kB / 0.8823 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.009179, allocations: 21.03 kB / 0.8823 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.009236, allocations: 37.03 kB / 0.8824 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.009994, allocations: 312.2 kB / 0.8827 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01001, allocations: 192 / 0.8827 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.01004, allocations: 16.38 kB / 0.8827 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.01006, allocations: 8.875 kB / 0.8827 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.01086, allocations: 289.6 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01214, allocations: 0.7062 MB / 0.8837 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.01287, allocations: 254.2 kB / 0.8839 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.01323, allocations: 132 kB / 0.884 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.01326, allocations: 8 kB / 0.884 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.01329, allocations: 36.72 kB / 0.8841 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.01329, allocations: 0 / 0.8841 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.001116/0.01441, allocations: 375 kB / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.01446, allocations: 59.41 kB / 0.8845 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.01463, allocations: 136.2 kB / 0.8846 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.01466, allocations: 29.7 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.0148, allocations: 172.5 kB / 0.8848 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.01488, allocations: 79.23 kB / 0.8849 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/0.01497, allocations: 45.94 kB / 0.8849 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.01515, allocations: 330.8 kB / 0.8852 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.01547, allocations: 96.39 kB / 0.8853 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.01581, allocations: 128.6 kB / 0.8855 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.01647, allocations: 238.5 kB / 0.8857 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01647, allocations: 0 / 0.8857 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00075/0.01722, allocations: 285.3 kB / 0.886 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01724, allocations: 8 kB / 0.886 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01724, allocations: 0 / 0.886 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.01727, allocations: 3.984 kB / 0.886 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.01758, allocations: 63.91 kB / 0.886 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.0176, allocations: 7.984 kB / 0.886 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.01776, allocations: 31.94 kB / 0.8861 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01777, allocations: 4 kB / 0.8861 GB, free: 13.64 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.0001689/0.01794, allocations: 153.7 kB / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.018, allocations: 31.88 kB / 0.8862 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.01806, allocations: 17.28 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.01807, allocations: 4 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01807, allocations: 0 / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01808, allocations: 0 / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.01844, allocations: 249 kB / 0.8865 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01844, allocations: 0 / 0.8865 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.01874, allocations: 59.95 kB / 0.8866 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01874, allocations: 0 / 0.8866 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.01876, allocations: 11.94 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.01877, allocations: 3.938 kB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01877, allocations: 0 / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.01957, allocations: 387.3 kB / 0.8869 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.01959, allocations: 15.84 kB / 0.887 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.01962, allocations: 4 kB / 0.887 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.0198, allocations: 23.97 kB / 0.887 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.01987, allocations: 19.97 kB / 0.887 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01988, allocations: 4 kB / 0.887 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.754e-05/0.01997, allocations: 105.2 kB / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01997, allocations: 0 / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003077/0.02028, allocations: 63.77 kB / 0.8872 GB, free: 12.46 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.0001342/0.02041, allocations: 107.2 kB / 0.8873 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007049/0.02112, allocations: 231.7 kB / 0.8875 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02112, allocations: 0 / 0.8875 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.02148, allocations: 124 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.02193, allocations: 31.86 kB / 0.8876 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.02291, allocations: 485.5 kB / 0.8881 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.02307, allocations: 145.7 kB / 0.8882 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.99e-05/0.02317, allocations: 13.48 kB / 0.8883 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.02324, allocations: 20.5 kB / 0.8883 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.02325, allocations: 0 / 0.8883 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.005489/0.02873, allocations: 1.821 MB / 0.8901 GB, free: 9.508 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 800] 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.601577750989236]