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.001023/0.001023, allocations: 93.06 kB / 19.65 MB, free: 276 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.001075/0.001075, allocations: 165 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 1.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.18/2.18, 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.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 2.865e-06/2.865e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.421e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001886/0.001921, allocations: 0.988 MB / 0.8792 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003064, allocations: 0.9217 MB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.00313, allocations: 4 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.585e-05/0.003176, allocations: 20.3 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.003274, allocations: 24.89 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.104e-05/0.003365, allocations: 51.94 kB / 0.8802 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.003516, allocations: 172.8 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.003686, allocations: 68.88 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.00381, allocations: 97.42 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.003881, allocations: 55.78 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.003912, allocations: 20 kB / 0.8806 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.003929, allocations: 20 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.003959, allocations: 39.69 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.004004, allocations: 51.83 kB / 0.8807 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.004434, allocations: 119.5 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.00444, allocations: 3.984 kB / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004441, allocations: 0 / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.004448, allocations: 4 kB / 0.8808 GB, free: 3.641 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.0005804/0.005029, allocations: 476.3 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.005071, allocations: 12.97 kB / 0.8812 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.005128, allocations: 36.78 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.00529, allocations: 152.7 kB / 0.8814 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.005303, allocations: 17.73 kB / 0.8814 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.005324, allocations: 16.31 kB / 0.8815 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.005558, allocations: 150.5 kB / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.005568, allocations: 192 / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.005582, allocations: 4.375 kB / 0.8816 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.005592, allocations: 5.469 kB / 0.8816 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.005692, allocations: 60.17 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.006252, allocations: 462.7 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.00639, allocations: 95.05 kB / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.006452, allocations: 39.66 kB / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.006465, allocations: 3.938 kB / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.006492, allocations: 37.39 kB / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.006494, allocations: 0 / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.000236/0.00673, allocations: 114.3 kB / 0.8824 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.006761, allocations: 51.41 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.006869, allocations: 193.1 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.006886, allocations: 30.89 kB / 0.8827 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.006966, allocations: 175 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.006992, allocations: 43.64 kB / 0.8829 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.007041, allocations: 31.38 kB / 0.8829 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.007169, allocations: 0.4937 MB / 0.8834 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.00721, allocations: 15.98 kB / 0.8834 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.007264, allocations: 51.05 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.985e-05/0.007354, allocations: 82.55 kB / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007356, allocations: 1.031 kB / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001398/0.007496, allocations: 109.5 kB / 0.8836 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.007512, allocations: 11.94 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007518, allocations: 0 / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.007534, allocations: 0 / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.007655, allocations: 35.91 kB / 0.8837 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.007662, allocations: 4 kB / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.007704, allocations: 15.89 kB / 0.8837 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.007713, allocations: 8 kB / 0.8837 GB, free: 452 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 8.342e-05/0.007797, allocations: 160.6 kB / 0.8838 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.007822, allocations: 19.92 kB / 0.8839 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.007857, allocations: 16.78 kB / 0.8839 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.00786, allocations: 4 kB / 0.8839 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.007864, allocations: 0 / 0.8839 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007866, allocations: 3.938 kB / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.008005, allocations: 172.5 kB / 0.8841 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008007, allocations: 0 / 0.8841 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.008073, allocations: 27.97 kB / 0.8841 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/0.008089, allocations: 208 / 0.8841 GB, free: 16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.008101, allocations: 11.94 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.008102, allocations: 0 / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.008103, allocations: 4 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.008274, allocations: 247.3 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.008288, allocations: 19.86 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.008302, allocations: 7.938 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.008351, allocations: 4 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.008404, allocations: 15.97 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.008411, allocations: 8 kB / 0.8844 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.008461, allocations: 142.5 kB / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008461, allocations: 0 / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001552/0.008616, allocations: 31.89 kB / 0.8846 GB, free: 15.5 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 9.847e-05/0.008715, allocations: 103.2 kB / 0.8847 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.008859, allocations: 71.59 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00886, allocations: 0 / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.008911, allocations: 47.61 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.009142, allocations: 19.92 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.00961, allocations: 283.4 kB / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.009661, allocations: 71.28 kB / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.024e-05/0.009701, allocations: 12.48 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.009746, allocations: 16.5 kB / 0.8851 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.009746, allocations: 0 / 0.8851 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.003255/0.013, allocations: 1.438 MB / 0.8866 GB, free: 13.45 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.51629525795579]