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.001336/0.001336, allocations: 80.81 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.001662/0.001662, 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.9681/0.9681, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.352/2.352, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.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 1.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.866e-05, allocations: 10.19 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.0018/0.001819, allocations: 0.8413 MB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.002964, allocations: 0.8936 MB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.003011, allocations: 0 / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.003042, allocations: 11.81 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.003125, allocations: 19.84 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.252e-05/0.003188, allocations: 35.95 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.003293, allocations: 115.6 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.003388, allocations: 49.91 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.003484, allocations: 63.83 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.003539, allocations: 39.88 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.00356, allocations: 12 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.003571, allocations: 12 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.003592, allocations: 15.92 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.00362, allocations: 35.91 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.776e-05/0.003717, allocations: 79.66 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003719, allocations: 0 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00372, allocations: 0 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.003723, allocations: 4 kB / 0.8408 GB, free: 11.9 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003268/0.00405, allocations: 312.7 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.004077, allocations: 8.625 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.004107, allocations: 20.92 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.004215, allocations: 137 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.004223, allocations: 4.562 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.004235, allocations: 12.38 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.004372, allocations: 103.4 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004379, allocations: 4 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.004387, allocations: 4 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.004392, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.004432, allocations: 25.98 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.004704, allocations: 240 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.004816, allocations: 46.73 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.004843, allocations: 20.8 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.004851, allocations: 4 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.004869, allocations: 34.56 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.00487, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001165/0.004986, allocations: 61.61 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.005015, allocations: 55.41 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.005075, allocations: 134.8 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.005085, allocations: 25.7 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.005126, allocations: 111.9 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.005138, allocations: 15.86 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.005169, allocations: 29.69 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.005242, allocations: 330.8 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.005255, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.005279, allocations: 17.72 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.00532, allocations: 41.92 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.005322, allocations: 0 / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.564e-05/0.005387, allocations: 69.55 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.005397, allocations: 4 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.005401, allocations: 0 / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.005412, allocations: 4 kB / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.005475, allocations: 28 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.005478, allocations: 0 / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.005511, allocations: 15.89 kB / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.005514, allocations: 0 / 0.8426 GB, free: 9.848 MB / 0.8073 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 5.191e-05/0.005566, allocations: 117.8 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.005583, allocations: 7.938 kB / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.005601, allocations: 16.78 kB / 0.8428 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.005602, allocations: 3.938 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.005603, allocations: 0 / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005606, allocations: 3.984 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.202e-05/0.005698, allocations: 89.86 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0057, allocations: 4 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.005749, allocations: 15.98 kB / 0.8429 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.00575, allocations: 4 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005756, allocations: 7.938 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005757, allocations: 0 / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005757, allocations: 0 / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.718e-05/0.005844, allocations: 155.5 kB / 0.843 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.005853, allocations: 7.953 kB / 0.843 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.005864, allocations: 7.938 kB / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.395e-05/0.005908, allocations: 19.92 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.005939, allocations: 11.98 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.005942, allocations: 0 / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.799e-05/0.00596, allocations: 24.78 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00596, allocations: 0 / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001243/0.006084, allocations: 23.95 kB / 0.8431 GB, free: 9.293 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 6.677e-05/0.006151, allocations: 80.41 kB / 0.8432 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.586e-05/0.006227, allocations: 40.72 kB / 0.8432 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006229, allocations: 4.062 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-05/0.006253, allocations: 20.84 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.006396, allocations: 19.98 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.006689, allocations: 204.9 kB / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.00672, allocations: 67.34 kB / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.006752, allocations: 4 kB / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.006814, allocations: 63.36 kB / 0.8436 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of SimCode: time 3.21e-07/0.006814, allocations: 0 / 0.8436 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.002874/0.009688, allocations: 1.246 MB / 0.8448 GB, free: 7.551 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.342575615737587]