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.001182/0.001182, allocations: 93.06 kB / 19.65 MB, free: 280 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.001048/0.001048, allocations: 173.3 kB / 23.02 MB, free: 1.551 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 0.9268/0.9268, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.008/2.008, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.786e-06/2.786e-06, allocations: 0 / 0.8782 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.749e-05, allocations: 3.078 kB / 0.8782 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.001935/0.001963, allocations: 1.225 MB / 0.8794 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.002985, allocations: 1.007 MB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.003065, allocations: 4.938 kB / 0.8804 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.723e-05/0.003122, allocations: 31.59 kB / 0.8804 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.003244, allocations: 40.91 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.003352, allocations: 91.91 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.003563, allocations: 316.3 kB / 0.8808 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.003775, allocations: 134 kB / 0.8809 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.00395, allocations: 183.6 kB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.004037, allocations: 87.11 kB / 0.8812 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.004073, allocations: 32 kB / 0.8812 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.59e-05/0.004099, allocations: 36 kB / 0.8813 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.00414, allocations: 67.81 kB / 0.8813 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.004205, allocations: 79.77 kB / 0.8814 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.004416, allocations: 199.2 kB / 0.8816 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.00442, allocations: 0 / 0.8816 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/0.004421, allocations: 0 / 0.8816 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.004427, allocations: 4.594 kB / 0.8816 GB, free: 2.863 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.0005518/0.004979, allocations: 0.5445 MB / 0.8821 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.005018, allocations: 8.031 kB / 0.8821 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.005084, allocations: 62.22 kB / 0.8822 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.005289, allocations: 201.1 kB / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.005306, allocations: 17.03 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.005329, allocations: 24.38 kB / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.005617, allocations: 199.4 kB / 0.8826 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.005627, allocations: 4.125 kB / 0.8826 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.005646, allocations: 12.38 kB / 0.8826 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.005657, allocations: 4.375 kB / 0.8826 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.005809, allocations: 95.8 kB / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/0.006505, allocations: 0.64 MB / 0.8834 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.006793, allocations: 147.2 kB / 0.8835 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.375e-05/0.006867, allocations: 51.66 kB / 0.8835 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.006883, allocations: 7.938 kB / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.006905, allocations: 37.39 kB / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.726e-06/0.006908, allocations: 0 / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0002828/0.007191, allocations: 163.8 kB / 0.8837 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.007223, allocations: 55.41 kB / 0.8838 GB, free: 476 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.007329, allocations: 199.8 kB / 0.884 GB, free: 260 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.007345, allocations: 33.7 kB / 0.884 GB, free: 220 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.007425, allocations: 203.3 kB / 0.8842 GB, free: 12 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.007473, allocations: 71.38 kB / 0.8843 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.007521, allocations: 39.36 kB / 0.8843 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.007637, allocations: 0.4923 MB / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.271e-05/0.00769, allocations: 27.98 kB / 0.8848 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.007753, allocations: 52.59 kB / 0.8849 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.007864, allocations: 81.03 kB / 0.885 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007866, allocations: 4 kB / 0.885 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001627/0.008029, allocations: 135.6 kB / 0.8851 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.008044, allocations: 8 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.008049, allocations: 3.938 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.008062, allocations: 0 / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.008195, allocations: 51.97 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.008201, allocations: 0 / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.008249, allocations: 19.88 kB / 0.8852 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.008259, allocations: 8 kB / 0.8852 GB, free: 14.99 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 8.84e-05/0.008348, allocations: 172.5 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.008374, allocations: 15.95 kB / 0.8854 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.008411, allocations: 25.11 kB / 0.8854 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.008415, allocations: 4 kB / 0.8854 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.008419, allocations: 0 / 0.8854 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008421, allocations: 0 / 0.8854 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.008595, allocations: 208.4 kB / 0.8856 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008597, allocations: 0 / 0.8856 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.008709, allocations: 39.92 kB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008711, allocations: 4 kB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.008723, allocations: 15.97 kB / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008725, allocations: 0 / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.008726, allocations: 0 / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.008933, allocations: 287.7 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.008945, allocations: 15.84 kB / 0.8859 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.00896, allocations: 4 kB / 0.8859 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.009016, allocations: 11.98 kB / 0.8859 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.00907, allocations: 19.97 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.009078, allocations: 8 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.009129, allocations: 145.6 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009129, allocations: 4 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001685/0.009298, allocations: 51.78 kB / 0.8862 GB, free: 13.91 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 9.663e-05/0.009394, allocations: 107.1 kB / 0.8863 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.00958, allocations: 92.95 kB / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009582, allocations: 0 / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.586e-05/0.009648, allocations: 65.66 kB / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.009896, allocations: 32.05 kB / 0.8864 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.01048, allocations: 390.6 kB / 0.8868 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.008e-05/0.01053, allocations: 83.83 kB / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.865e-05/0.01059, allocations: 9.484 kB / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.01064, allocations: 24.5 kB / 0.8869 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of SimCode: time 1.001e-06/0.01064, allocations: 0 / 0.8869 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of Templates: time 0.003946/0.01459, allocations: 1.834 MB / 0.8887 GB, free: 11.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","",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.213819460012019]