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.PIGain.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.0009547/0.0009547, 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.001048/0.001048, 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.945/0.945, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.056/2.056, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.245e-05, allocations: 10.08 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001331/0.001343, allocations: 0.9562 MB / 0.8804 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.002265, allocations: 0.9269 MB / 0.8813 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.002319, allocations: 0 / 0.8813 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.002358, allocations: 19.73 kB / 0.8813 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.002443, allocations: 21.11 kB / 0.8813 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.484e-05/0.002518, allocations: 51.94 kB / 0.8814 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.002646, allocations: 176.1 kB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.002788, allocations: 69.75 kB / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.002898, allocations: 99.8 kB / 0.8817 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.002955, allocations: 49.39 kB / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.002978, allocations: 20 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.002994, allocations: 20 kB / 0.8818 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.003021, allocations: 39.84 kB / 0.8818 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.003059, allocations: 49.33 kB / 0.8819 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003178, allocations: 115.5 kB / 0.882 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.00318, allocations: 0 / 0.882 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003181, allocations: 0 / 0.882 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.003184, allocations: 1.125 kB / 0.882 GB, free: 3.453 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0003926/0.003576, allocations: 491.6 kB / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.003606, allocations: 12.03 kB / 0.8824 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.00365, allocations: 32.8 kB / 0.8825 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.003778, allocations: 154.6 kB / 0.8826 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.003789, allocations: 8.703 kB / 0.8826 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.003806, allocations: 24.31 kB / 0.8827 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.003973, allocations: 129.4 kB / 0.8828 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.003982, allocations: 4.172 kB / 0.8828 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.003994, allocations: 16.38 kB / 0.8828 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004, allocations: 384 / 0.8828 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.00406, allocations: 52.48 kB / 0.8828 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.004445, allocations: 431.7 kB / 0.8833 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.004546, allocations: 91 kB / 0.8833 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.004583, allocations: 35.67 kB / 0.8834 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.004592, allocations: 0 / 0.8834 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.004618, allocations: 45.33 kB / 0.8834 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.004619, allocations: 3.938 kB / 0.8834 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0001572/0.004776, allocations: 93.62 kB / 0.8835 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.004802, allocations: 55.41 kB / 0.8836 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.004875, allocations: 193.2 kB / 0.8838 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.004892, allocations: 25.7 kB / 0.8838 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.004954, allocations: 183 kB / 0.884 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.004977, allocations: 47.62 kB / 0.884 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.005012, allocations: 31.38 kB / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.005111, allocations: 0.4922 MB / 0.8845 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.005134, allocations: 19.98 kB / 0.8845 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.005171, allocations: 47.03 kB / 0.8846 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.264e-05/0.005234, allocations: 69.23 kB / 0.8846 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.005236, allocations: 4 kB / 0.8846 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001007/0.005337, allocations: 93.56 kB / 0.8847 GB, free: 412 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.005348, allocations: 10.44 kB / 0.8847 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.005352, allocations: 0 / 0.8847 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.005359, allocations: 4 kB / 0.8847 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.005453, allocations: 39.98 kB / 0.8848 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005455, allocations: 0 / 0.8848 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.005497, allocations: 19.88 kB / 0.8848 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.005504, allocations: 4 kB / 0.8848 GB, free: 336 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 6.635e-05/0.00557, allocations: 156.6 kB / 0.885 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.005592, allocations: 19.89 kB / 0.885 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.005618, allocations: 20.77 kB / 0.885 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.005619, allocations: 0 / 0.885 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.005621, allocations: 3.938 kB / 0.885 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.005624, allocations: 4 kB / 0.885 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.005747, allocations: 141.2 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005749, allocations: 4 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.005812, allocations: 23.98 kB / 0.8852 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.005814, allocations: 4 kB / 0.8852 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.00582, allocations: 4 kB / 0.8852 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.005822, allocations: 3.938 kB / 0.8852 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005822, allocations: 0 / 0.8852 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.005946, allocations: 247 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.005956, allocations: 11.89 kB / 0.8854 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.005968, allocations: 8 kB / 0.8854 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.006019, allocations: 15.92 kB / 0.8854 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.006054, allocations: 15.97 kB / 0.8855 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.006058, allocations: 0 / 0.8855 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.006097, allocations: 139.2 kB / 0.8856 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006097, allocations: 4 kB / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001505/0.006247, allocations: 27.89 kB / 0.8856 GB, free: 15.44 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 (13): * Single equations (assignments): 13 * 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 6.381e-05/0.006311, allocations: 99.25 kB / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.662e-05/0.006408, allocations: 67.53 kB / 0.8858 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.006409, allocations: 0 / 0.8858 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.006449, allocations: 43.61 kB / 0.8858 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.006651, allocations: 22.47 kB / 0.8858 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.007008, allocations: 282.9 kB / 0.8861 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.007046, allocations: 67.34 kB / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.007086, allocations: 12.47 kB / 0.8862 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.007158, allocations: 90.19 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of SimCode: time 4.5e-07/0.007159, allocations: 4 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.003064/0.01022, allocations: 1.624 MB / 0.8879 GB, free: 13.14 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.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.263569626957178]