Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001772/0.001772, allocations: 93.47 kB / 19.44 MB, free: 336 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.001985/0.001985, allocations: 169.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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.365/3.365, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.021e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002758/0.002788, allocations: 1.19 MB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.004389, allocations: 0.9965 MB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.004488, allocations: 4 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.809e-05/0.004556, allocations: 24.98 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.004725, allocations: 43.53 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.004901, allocations: 96.97 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003695/0.005271, allocations: 315.3 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.005559, allocations: 126 kB / 0.8802 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.005838, allocations: 184.8 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.005971, allocations: 83.7 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.006029, allocations: 36.66 kB / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.923e-05/0.006078, allocations: 37.97 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.006148, allocations: 67.81 kB / 0.8806 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.006249, allocations: 83.81 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.006791, allocations: 458.4 kB / 0.8811 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.006799, allocations: 7.984 kB / 0.8811 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.0068, allocations: 0 / 0.8811 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.006807, allocations: 3.469 kB / 0.8811 GB, free: 2.926 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009885/0.007796, allocations: 0.5741 MB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.007838, allocations: 8.031 kB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.007944, allocations: 48.75 kB / 0.8817 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.008287, allocations: 208.9 kB / 0.8819 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.008316, allocations: 17.97 kB / 0.8819 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.008358, allocations: 24.38 kB / 0.8819 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.008899, allocations: 247.7 kB / 0.8822 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.008912, allocations: 192 / 0.8822 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.008939, allocations: 9.469 kB / 0.8822 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.008953, allocations: 8.375 kB / 0.8822 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.009461, allocations: 203.6 kB / 0.8824 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.01072, allocations: 0.7663 MB / 0.8831 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.01125, allocations: 218.3 kB / 0.8833 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.01149, allocations: 100.4 kB / 0.8834 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.01152, allocations: 4.875 kB / 0.8834 GB, free: 408 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.01156, allocations: 41.39 kB / 0.8835 GB, free: 356 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.01156, allocations: 5.031 kB / 0.8835 GB, free: 352 kB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0007882/0.01235, allocations: 267.3 kB / 0.8837 GB, free: 80 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.01241, allocations: 55.39 kB / 0.8838 GB, free: 12 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.01269, allocations: 220 kB / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.01272, allocations: 30.67 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.01289, allocations: 211.3 kB / 0.8842 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.01297, allocations: 75.33 kB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.01308, allocations: 52.11 kB / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003521/0.01343, allocations: 0.5001 MB / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.0138, allocations: 63.91 kB / 0.8849 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.01403, allocations: 103.3 kB / 0.885 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.01444, allocations: 164.8 kB / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01444, allocations: 0 / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005108/0.01496, allocations: 220.1 kB / 0.8854 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.01498, allocations: 8 kB / 0.8854 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01498, allocations: 0 / 0.8854 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.015, allocations: 4 kB / 0.8854 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.01522, allocations: 39.97 kB / 0.8854 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01523, allocations: 4 kB / 0.8854 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01534, allocations: 19.94 kB / 0.8855 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01535, allocations: 4 kB / 0.8855 GB, free: 14.25 MB / 0.8542 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.0002337/0.01559, allocations: 192.5 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.01564, allocations: 15.95 kB / 0.8857 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.01571, allocations: 21.12 kB / 0.8857 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.01571, allocations: 4 kB / 0.8857 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.01572, allocations: 4 kB / 0.8857 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.01573, allocations: 3.984 kB / 0.8857 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.01614, allocations: 264.4 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01615, allocations: 0 / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.01635, allocations: 47.91 kB / 0.886 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.01636, allocations: 4 kB / 0.886 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01637, allocations: 4 kB / 0.886 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01637, allocations: 0 / 0.886 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.01637, allocations: 0 / 0.886 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.017, allocations: 369 kB / 0.8863 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.01703, allocations: 19.84 kB / 0.8864 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.01706, allocations: 3.984 kB / 0.8864 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.01717, allocations: 12 kB / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.01725, allocations: 15.97 kB / 0.8864 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01727, allocations: 8 kB / 0.8864 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001247/0.01739, allocations: 165 kB / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01739, allocations: 3.938 kB / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002744/0.01766, allocations: 51.84 kB / 0.8866 GB, free: 13.01 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 (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.00015/0.01781, allocations: 99.19 kB / 0.8867 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.01831, allocations: 179.5 kB / 0.8869 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01831, allocations: 0 / 0.8869 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.01856, allocations: 109.7 kB / 0.887 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.01891, allocations: 23.98 kB / 0.887 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009665/0.01987, allocations: 442.4 kB / 0.8874 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.02003, allocations: 129.7 kB / 0.8875 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.767e-05/0.02011, allocations: 9.5 kB / 0.8876 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.02018, allocations: 32.48 kB / 0.8876 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of SimCode: time 4.6e-07/0.02018, allocations: 0 / 0.8876 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.005616/0.0258, allocations: 1.727 MB / 0.8893 GB, free: 10.29 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.561978188110515]