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.0009353/0.0009353, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001046/0.001046, allocations: 177 kB / 23.36 MB, free: 1.129 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.9856/0.9856, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.423/2.423, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.813e-06/1.813e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.321e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001668/0.001691, allocations: 0.9494 MB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.002644, allocations: 0.948 MB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.0027, allocations: 0 / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.002738, allocations: 15.8 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.863e-05/0.002827, allocations: 15.81 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 8.069e-05/0.002908, allocations: 59.92 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.003064, allocations: 168.2 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.003201, allocations: 74.17 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.003322, allocations: 103.7 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.003384, allocations: 55.8 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.003408, allocations: 16 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.003429, allocations: 20 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.003457, allocations: 39.89 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.003491, allocations: 43.86 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.003621, allocations: 119.5 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003623, allocations: 4 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003625, allocations: 4 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.003628, allocations: 0 / 0.8412 GB, free: 11.54 MB / 0.8073 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.0003603/0.003988, allocations: 364.6 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.00402, allocations: 12.56 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.004052, allocations: 20.92 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.004168, allocations: 141.5 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.00418, allocations: 12.7 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.004196, allocations: 16.38 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.004362, allocations: 133.5 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004369, allocations: 4.172 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004381, allocations: 12.36 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004387, allocations: 4.375 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/0.004442, allocations: 48.39 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.004812, allocations: 315.7 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.004916, allocations: 78.48 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.004949, allocations: 20.86 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.004959, allocations: 4 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.00498, allocations: 34.56 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.004981, allocations: 4 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001402/0.005121, allocations: 89.84 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.005149, allocations: 55.34 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.005215, allocations: 130.7 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.005228, allocations: 29.7 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.005279, allocations: 128.3 kB / 0.8428 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.005301, allocations: 43.62 kB / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.005335, allocations: 25.7 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.005415, allocations: 322.8 kB / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.005438, allocations: 11.98 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.005471, allocations: 38.56 kB / 0.8432 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.137e-05/0.005533, allocations: 62.09 kB / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005535, allocations: 0 / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.081e-05/0.005625, allocations: 77.61 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.00564, allocations: 13.97 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005644, allocations: 0 / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.005654, allocations: 0 / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.00575, allocations: 39.97 kB / 0.8434 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005754, allocations: 4 kB / 0.8434 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.005797, allocations: 15.89 kB / 0.8434 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005802, allocations: 0 / 0.8434 GB, free: 9.098 MB / 0.8073 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.353e-05/0.005865, allocations: 125.7 kB / 0.8435 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.005884, allocations: 16.06 kB / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.005905, allocations: 16.72 kB / 0.8435 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.005908, allocations: 3.984 kB / 0.8435 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.00591, allocations: 4 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005912, allocations: 0 / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.006026, allocations: 109.7 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006027, allocations: 0 / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.00609, allocations: 27.98 kB / 0.8437 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006092, allocations: 0 / 0.8437 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.006098, allocations: 4 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.0061, allocations: 8 kB / 0.8437 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.006103, allocations: 7.875 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.006218, allocations: 171.5 kB / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.006228, allocations: 7.953 kB / 0.8439 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.006238, allocations: 4 kB / 0.8439 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.006286, allocations: 11.98 kB / 0.8439 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.006324, allocations: 15.92 kB / 0.8439 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.006328, allocations: 0 / 0.8439 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.165e-05/0.006349, allocations: 31.5 kB / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006349, allocations: 0 / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001343/0.006484, allocations: 31.89 kB / 0.8439 GB, free: 8.473 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 (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 8.844e-05/0.006572, allocations: 92.34 kB / 0.844 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.625e-05/0.006658, allocations: 44.84 kB / 0.8441 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.006663, allocations: 4 kB / 0.8441 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.006698, allocations: 40.16 kB / 0.8441 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.006864, allocations: 23.97 kB / 0.8441 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.007238, allocations: 285 kB / 0.8444 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.007277, allocations: 67.34 kB / 0.8445 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.007317, allocations: 12.48 kB / 0.8445 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.007384, allocations: 63.38 kB / 0.8446 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.007384, allocations: 0 / 0.8446 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of Templates: time 0.00302/0.0104, allocations: 1.386 MB / 0.8459 GB, free: 6.465 MB / 0.8073 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.410124765243381]