Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.001348/0.001348, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001594/0.001594, allocations: 165 kB / 24.05 MB, free: 452 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 0.9475/0.9475, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.17/2.17, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8794 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.633e-05, allocations: 3.562 kB / 0.8794 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002131/0.002158, allocations: 0.8513 MB / 0.8803 GB, free: 4.039 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003376, allocations: 0.8947 MB / 0.8811 GB, free: 3.133 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.003449, allocations: 0 / 0.8811 GB, free: 3.133 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.347e-05/0.003493, allocations: 11.86 kB / 0.8811 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.003601, allocations: 22.67 kB / 0.8812 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.312e-05/0.003684, allocations: 36.64 kB / 0.8812 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.003832, allocations: 120.3 kB / 0.8813 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.003975, allocations: 37.27 kB / 0.8813 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.004104, allocations: 72.58 kB / 0.8814 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.004176, allocations: 39.88 kB / 0.8815 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.004198, allocations: 8.719 kB / 0.8815 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.004216, allocations: 12 kB / 0.8815 GB, free: 2.785 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.004247, allocations: 24.77 kB / 0.8815 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.004284, allocations: 27.91 kB / 0.8815 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004413, allocations: 84.41 kB / 0.8816 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004415, allocations: 0 / 0.8816 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004416, allocations: 0.75 kB / 0.8816 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004419, allocations: 0 / 0.8816 GB, free: 2.652 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004956/0.004915, allocations: 445.5 kB / 0.882 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.004954, allocations: 8.031 kB / 0.882 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.004999, allocations: 17.61 kB / 0.8821 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.005258, allocations: 144.4 kB / 0.8822 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.005271, allocations: 12.5 kB / 0.8822 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.005286, allocations: 8.375 kB / 0.8822 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.005483, allocations: 101.5 kB / 0.8823 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.005491, allocations: 0 / 0.8823 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.005502, allocations: 4 kB / 0.8823 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005509, allocations: 0 / 0.8823 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.005573, allocations: 27.91 kB / 0.8823 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.006011, allocations: 341.4 kB / 0.8827 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.00617, allocations: 63.28 kB / 0.8827 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.006209, allocations: 16.66 kB / 0.8827 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.00622, allocations: 3.984 kB / 0.8827 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.006245, allocations: 41.39 kB / 0.8828 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.006246, allocations: 1.094 kB / 0.8828 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of matching and sorting (n=8): time 0.0001862/0.006432, allocations: 73.72 kB / 0.8829 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.006462, allocations: 52.53 kB / 0.8829 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.00657, allocations: 184.8 kB / 0.8831 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.006584, allocations: 29.7 kB / 0.8831 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.006663, allocations: 155.8 kB / 0.8833 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.006688, allocations: 31.73 kB / 0.8833 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.00674, allocations: 27.36 kB / 0.8833 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.006885, allocations: 0.4892 MB / 0.8838 GB, free: 240 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.00691, allocations: 7.984 kB / 0.8838 GB, free: 232 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.006954, allocations: 32.95 kB / 0.8838 GB, free: 192 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.007023, allocations: 39.36 kB / 0.8839 GB, free: 144 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007026, allocations: 4 kB / 0.8839 GB, free: 140 kB / 0.7917 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001323/0.007158, allocations: 81.94 kB / 0.884 GB, free: 52 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.007172, allocations: 8 kB / 0.884 GB, free: 44 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007177, allocations: 1.688 kB / 0.884 GB, free: 44 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.007185, allocations: 0 / 0.884 GB, free: 44 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.007281, allocations: 19.98 kB / 0.884 GB, free: 24 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.007285, allocations: 4 kB / 0.884 GB, free: 20 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.007339, allocations: 9.172 kB / 0.884 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.007346, allocations: 4 kB / 0.884 GB, free: 8 kB / 0.7917 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 (9): * Single equations (assignments): 9 * 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.752e-05/0.007444, allocations: 157.7 kB / 0.8841 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.007477, allocations: 19.83 kB / 0.8842 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.007506, allocations: 12.78 kB / 0.8842 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.007508, allocations: 1.594 kB / 0.8842 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.007512, allocations: 4 kB / 0.8842 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.007516, allocations: 4 kB / 0.8842 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.007681, allocations: 129.1 kB / 0.8843 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007682, allocations: 2.875 kB / 0.8843 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.007759, allocations: 19.98 kB / 0.8843 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007762, allocations: 3.938 kB / 0.8843 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007768, allocations: 4 kB / 0.8843 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.00777, allocations: 0 / 0.8843 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00777, allocations: 0 / 0.8843 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.007939, allocations: 215.8 kB / 0.8845 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.00795, allocations: 9.594 kB / 0.8846 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.007968, allocations: 11.92 kB / 0.8846 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.008046, allocations: 4 kB / 0.8846 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.008093, allocations: 11.98 kB / 0.8846 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.0081, allocations: 4.609 kB / 0.8846 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.008157, allocations: 143.2 kB / 0.8847 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008157, allocations: 0.8125 kB / 0.8847 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002505/0.008408, allocations: 15.94 kB / 0.8847 GB, free: 15.2 MB / 0.8073 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 (8): * Single equations (assignments): 8 * 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 8.784e-05/0.008496, allocations: 104 kB / 0.8848 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.008622, allocations: 44.06 kB / 0.8849 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.008623, allocations: 0 / 0.8849 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.008668, allocations: 27.81 kB / 0.8849 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.008968, allocations: 19.98 kB / 0.8849 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.009361, allocations: 214.6 kB / 0.8851 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.009409, allocations: 67.98 kB / 0.8852 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.009458, allocations: 3.938 kB / 0.8852 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.481e-05/0.009552, allocations: 94.19 kB / 0.8853 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of SimCode: time 9.62e-07/0.009553, allocations: 0 / 0.8853 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.003844/0.0134, allocations: 1.465 MB / 0.8867 GB, free: 13.17 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.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.423174767754972]