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.0008738/0.0008738, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001963/0.001963, allocations: 173 kB / 23.49 MB, free: 1.055 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.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 2.154/2.154, allocations: 429.5 MB / 0.6736 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] 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.655e-06/2.655e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.191e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.00187/0.001902, allocations: 1.202 MB / 0.8794 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.002976, allocations: 1.003 MB / 0.8803 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.003063, allocations: 4 kB / 0.8803 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.504e-05/0.003118, allocations: 29.34 kB / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.003234, allocations: 39.59 kB / 0.8804 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.003349, allocations: 100.4 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.003568, allocations: 312.6 kB / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.003786, allocations: 137.9 kB / 0.8809 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.003953, allocations: 175.7 kB / 0.8811 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.004037, allocations: 89.03 kB / 0.8812 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.004074, allocations: 36 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.004098, allocations: 36 kB / 0.8813 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.004137, allocations: 67.81 kB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.004197, allocations: 85.36 kB / 0.8814 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004392, allocations: 199.2 kB / 0.8816 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.004396, allocations: 8 kB / 0.8816 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.81e-07/0.004397, allocations: 0 / 0.8816 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.004402, allocations: 1.812 kB / 0.8816 GB, free: 3.148 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.0005422/0.004944, allocations: 0.5536 MB / 0.8821 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.004992, allocations: 8.031 kB / 0.8822 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.005063, allocations: 52.69 kB / 0.8822 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.005305, allocations: 216.9 kB / 0.8824 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.005324, allocations: 17.03 kB / 0.8824 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.005348, allocations: 24.38 kB / 0.8825 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.005635, allocations: 203.3 kB / 0.8826 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.005643, allocations: 192 / 0.8826 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.005662, allocations: 12.38 kB / 0.8827 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.005671, allocations: 4.375 kB / 0.8827 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.00583, allocations: 87.81 kB / 0.8827 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.006509, allocations: 0.6322 MB / 0.8834 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.006786, allocations: 155.2 kB / 0.8835 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.006867, allocations: 53.03 kB / 0.8836 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.006881, allocations: 4 kB / 0.8836 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.006903, allocations: 37.39 kB / 0.8836 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.006905, allocations: 0 / 0.8836 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003427/0.007248, allocations: 167.8 kB / 0.8838 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.007284, allocations: 59.41 kB / 0.8838 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.007406, allocations: 188.2 kB / 0.884 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.007422, allocations: 33.7 kB / 0.884 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.007518, allocations: 211.3 kB / 0.8842 GB, free: 292 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.007563, allocations: 71.38 kB / 0.8843 GB, free: 220 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.007624, allocations: 43.3 kB / 0.8843 GB, free: 168 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.007773, allocations: 0.4923 MB / 0.8848 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.007836, allocations: 23.98 kB / 0.8848 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.00792, allocations: 60.41 kB / 0.8849 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.008059, allocations: 79.31 kB / 0.885 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.008062, allocations: 0 / 0.885 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002171/0.008279, allocations: 139.4 kB / 0.8851 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.008294, allocations: 8.031 kB / 0.8851 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.0083, allocations: 4 kB / 0.8851 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.008314, allocations: 0 / 0.8851 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.008473, allocations: 47.97 kB / 0.8852 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.008479, allocations: 0 / 0.8852 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.008543, allocations: 23.88 kB / 0.8852 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.008554, allocations: 4 kB / 0.8852 GB, free: 15.26 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 9.768e-05/0.008652, allocations: 168.5 kB / 0.8854 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.008692, allocations: 15.95 kB / 0.8854 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.008732, allocations: 25.12 kB / 0.8854 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.008737, allocations: 7.984 kB / 0.8854 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.008742, allocations: 0 / 0.8854 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.008745, allocations: 0 / 0.8854 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.008959, allocations: 208.4 kB / 0.8856 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.008961, allocations: 0 / 0.8856 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.009095, allocations: 43.92 kB / 0.8856 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.0091, allocations: 4 kB / 0.8856 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.00911, allocations: 0 / 0.8856 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.009112, allocations: 0 / 0.8856 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.009114, allocations: 7.984 kB / 0.8857 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.009366, allocations: 285.4 kB / 0.8859 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.009383, allocations: 15.84 kB / 0.8859 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.009404, allocations: 8 kB / 0.8859 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.009485, allocations: 7.984 kB / 0.886 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.009545, allocations: 23.97 kB / 0.886 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.009552, allocations: 0 / 0.886 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.26e-05/0.009615, allocations: 144.3 kB / 0.8861 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/0.009615, allocations: 0 / 0.8861 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002506/0.009865, allocations: 55.78 kB / 0.8862 GB, free: 14.19 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.0001106/0.009976, allocations: 115 kB / 0.8863 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.01018, allocations: 97.45 kB / 0.8864 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01018, allocations: 0 / 0.8864 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.01027, allocations: 57.33 kB / 0.8864 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.01059, allocations: 27.97 kB / 0.8865 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/0.01131, allocations: 397.1 kB / 0.8868 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.225e-05/0.01137, allocations: 75.83 kB / 0.8869 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.349e-05/0.01144, allocations: 17.48 kB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.01149, allocations: 24.5 kB / 0.8869 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of SimCode: time 8.02e-07/0.0115, allocations: 4 kB / 0.8869 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.004577/0.01607, allocations: 1.736 MB / 0.8886 GB, free: 11.67 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7324085691943765]