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.0009891/0.0009891, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001025/0.001025, allocations: 173 kB / 23.36 MB, free: 1.133 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.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.544/2.544, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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 2.945e-06/2.945e-06, allocations: 0 / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/3.008e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002275/0.002305, allocations: 0.8947 MB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003447, allocations: 0.8975 MB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.003507, allocations: 4 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.044e-05/0.003547, allocations: 11.88 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.006687, allocations: 15.8 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 9.59e-05/0.006782, allocations: 35.95 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.006929, allocations: 119.7 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.007051, allocations: 37.92 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.007182, allocations: 71.81 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.007251, allocations: 35.89 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.007275, allocations: 8 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.007289, allocations: 12 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.007318, allocations: 31.91 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.007353, allocations: 23.92 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.007485, allocations: 83.66 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.007489, allocations: 3.984 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.253e-06/0.00749, allocations: 0 / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.007494, allocations: 0 / 0.8409 GB, free: 11.86 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.0004258/0.00792, allocations: 308.7 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.007958, allocations: 12.62 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.007995, allocations: 12.94 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.008149, allocations: 149.5 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.00816, allocations: 4.562 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.008174, allocations: 8.375 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.00836, allocations: 104.5 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.008368, allocations: 0 / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.008379, allocations: 4 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.008386, allocations: 4 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.008441, allocations: 19.98 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.00881, allocations: 232 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.008946, allocations: 58.66 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.008982, allocations: 16.8 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.008994, allocations: 4 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.009016, allocations: 30.56 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.009017, allocations: 0 / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001605/0.009178, allocations: 65.67 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.009208, allocations: 51.41 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.009293, allocations: 138.7 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.009306, allocations: 29.7 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.00936, allocations: 108 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.009378, allocations: 19.8 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00304/0.01242, allocations: 21.7 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.01252, allocations: 322.8 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.01254, allocations: 4 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.01258, allocations: 21.7 kB / 0.8426 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.01265, allocations: 37.98 kB / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01265, allocations: 4 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001128/0.01276, allocations: 73.55 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01278, allocations: 8 kB / 0.8427 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01278, allocations: 0 / 0.8427 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.0128, allocations: 3.984 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01295, allocations: 27.92 kB / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-06/0.01295, allocations: 0 / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.013, allocations: 19.88 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.01301, allocations: 4 kB / 0.8427 GB, free: 9.797 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 6.948e-05/0.01308, allocations: 113.9 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.01311, allocations: 11.92 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.01314, allocations: 16.72 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01314, allocations: 4 kB / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01314, allocations: 0 / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01315, allocations: 0 / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.01331, allocations: 89.84 kB / 0.843 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01331, allocations: 0 / 0.843 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.784e-05/0.01341, allocations: 23.98 kB / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01341, allocations: 4 kB / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01342, allocations: 7.938 kB / 0.843 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.01342, allocations: 3.938 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01342, allocations: 0 / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.01355, allocations: 147.5 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.01356, allocations: 11.94 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.01357, allocations: 7.938 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.01366, allocations: 7.984 kB / 0.8432 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.0137, allocations: 11.98 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.0137, allocations: 0 / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.627e-05/0.01373, allocations: 24.08 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01373, allocations: 4 kB / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000228/0.01396, allocations: 27.89 kB / 0.8432 GB, free: 9.25 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 0.0001033/0.01406, allocations: 84.34 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.01416, allocations: 32.84 kB / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01417, allocations: 4 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.01421, allocations: 24.78 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01446, allocations: 28.66 kB / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.01484, allocations: 200.9 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.01489, allocations: 63.34 kB / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.39e-05/0.01494, allocations: 8 kB / 0.8436 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.01503, allocations: 63.36 kB / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of SimCode: time 8.92e-07/0.01503, allocations: 0 / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of Templates: time 0.009745/0.02477, allocations: 1.24 MB / 0.8449 GB, free: 7.516 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 -s gbode -gbm=radauIIA3 -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.477444611955434]