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.001419/0.001419, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001937/0.001937, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.04/1.04, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.116/2.116, allocations: 429.5 MB / 0.6743 GB, free: 3.941 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.285e-06/2.285e-06, allocations: 0 / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.758e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.001923/0.001951, allocations: 1.186 MB / 0.8806 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003097, allocations: 1.007 MB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003215, allocations: 4.938 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.924e-05/0.003274, allocations: 31.59 kB / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.003416, allocations: 32.69 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.003552, allocations: 105 kB / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.003798, allocations: 307.3 kB / 0.882 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.004021, allocations: 134 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.004219, allocations: 188.7 kB / 0.8823 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.00431, allocations: 83.75 kB / 0.8824 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.004344, allocations: 32.91 kB / 0.8824 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.004368, allocations: 36 kB / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.00441, allocations: 64.58 kB / 0.8825 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.004465, allocations: 79.83 kB / 0.8826 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.004663, allocations: 198.7 kB / 0.8828 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004666, allocations: 0 / 0.8828 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004667, allocations: 0 / 0.8828 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004671, allocations: 0 / 0.8828 GB, free: 2.602 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.0005017/0.005172, allocations: 0.5548 MB / 0.8833 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.005205, allocations: 8.031 kB / 0.8833 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.005259, allocations: 48.75 kB / 0.8834 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.005437, allocations: 208.8 kB / 0.8836 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.005457, allocations: 22.22 kB / 0.8836 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.005484, allocations: 24.38 kB / 0.8836 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.005733, allocations: 179.4 kB / 0.8838 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.005743, allocations: 1.719 kB / 0.8838 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.005758, allocations: 8.375 kB / 0.8838 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.005766, allocations: 12.31 kB / 0.8838 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.005852, allocations: 72.41 kB / 0.8839 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.006624, allocations: 0.611 MB / 0.8845 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.006832, allocations: 139.2 kB / 0.8846 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.006881, allocations: 47.66 kB / 0.8847 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.006894, allocations: 4 kB / 0.8847 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.006915, allocations: 33.39 kB / 0.8847 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.006917, allocations: 0 / 0.8847 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0002109/0.007127, allocations: 148 kB / 0.8848 GB, free: 380 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.007162, allocations: 55.41 kB / 0.8849 GB, free: 312 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.00727, allocations: 199.9 kB / 0.8851 GB, free: 96 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.007286, allocations: 25.7 kB / 0.8851 GB, free: 64 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.007391, allocations: 203.3 kB / 0.8853 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.007437, allocations: 79.34 kB / 0.8854 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.007489, allocations: 35.38 kB / 0.8854 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.007632, allocations: 0.4962 MB / 0.8859 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.007668, allocations: 15.98 kB / 0.8859 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.007722, allocations: 53.14 kB / 0.886 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.843e-05/0.00781, allocations: 77 kB / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.007812, allocations: 0 / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001457/0.007958, allocations: 123.1 kB / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.007976, allocations: 8 kB / 0.8861 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.007983, allocations: 3.984 kB / 0.8862 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.007993, allocations: 0 / 0.8862 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.00812, allocations: 43.92 kB / 0.8862 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.008123, allocations: 0 / 0.8862 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.008176, allocations: 23.88 kB / 0.8862 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.008184, allocations: 4 kB / 0.8862 GB, free: 14.87 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.0001006/0.008285, allocations: 172.5 kB / 0.8864 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.008313, allocations: 15.95 kB / 0.8864 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.008352, allocations: 25.11 kB / 0.8864 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008355, allocations: 0 / 0.8864 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.008357, allocations: 0 / 0.8864 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.008361, allocations: 7.938 kB / 0.8864 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.008546, allocations: 169.1 kB / 0.8866 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.008551, allocations: 3.938 kB / 0.8866 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.008656, allocations: 47.97 kB / 0.8866 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008658, allocations: 0 / 0.8866 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.008668, allocations: 8 kB / 0.8867 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.008671, allocations: 3.938 kB / 0.8867 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008672, allocations: 0 / 0.8867 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.008873, allocations: 275.8 kB / 0.8869 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.00889, allocations: 19.78 kB / 0.8869 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.008903, allocations: 4 kB / 0.8869 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.008958, allocations: 8 kB / 0.8869 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.009009, allocations: 19.95 kB / 0.887 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.009014, allocations: 4 kB / 0.887 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.009068, allocations: 144.7 kB / 0.8871 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009068, allocations: 4 kB / 0.8871 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000186/0.009254, allocations: 51.78 kB / 0.8872 GB, free: 13.84 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.0001243/0.009379, allocations: 103.2 kB / 0.8873 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.009524, allocations: 81.3 kB / 0.8873 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009526, allocations: 0 / 0.8873 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.009584, allocations: 58 kB / 0.8874 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.009842, allocations: 31.98 kB / 0.8874 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.01039, allocations: 394.5 kB / 0.8878 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.918e-05/0.01043, allocations: 79.83 kB / 0.8879 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.0105, allocations: 17.48 kB / 0.8879 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.01059, allocations: 94.19 kB / 0.888 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.01059, allocations: 0 / 0.888 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.003808/0.0144, allocations: 1.974 MB / 0.8899 GB, free: 11.03 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.543518119957298]