Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001368/0.001368, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001093/0.001093, allocations: 161.4 kB / 24.16 MB, free: 332 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 1.078/1.078, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.985/1.985, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.76 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.162e-05, allocations: 6.75 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002077/0.002098, allocations: 1.22 MB / 0.7612 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.004366, allocations: 1.029 MB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.004506, allocations: 0 / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.891e-05/0.004575, allocations: 31.61 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.004755, allocations: 34.53 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.004918, allocations: 99.91 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.005181, allocations: 316.5 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.005424, allocations: 141.9 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.005655, allocations: 183.6 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.005757, allocations: 84.64 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.005795, allocations: 32 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.769e-05/0.005822, allocations: 37.03 kB / 0.7632 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.005877, allocations: 67.8 kB / 0.7632 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.005937, allocations: 79.83 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.006162, allocations: 195.9 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006165, allocations: 0 / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006165, allocations: 1.781 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.006171, allocations: 0 / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005273/0.006699, allocations: 441.4 kB / 0.7639 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.006739, allocations: 8.031 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.00679, allocations: 45.78 kB / 0.764 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.006998, allocations: 171 kB / 0.7641 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.007017, allocations: 17.03 kB / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.007039, allocations: 25.31 kB / 0.7642 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.007264, allocations: 188.1 kB / 0.7644 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007274, allocations: 4.125 kB / 0.7644 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.007289, allocations: 13.12 kB / 0.7644 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.007297, allocations: 4.375 kB / 0.7644 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.007379, allocations: 61.09 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.00797, allocations: 474.7 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.008159, allocations: 126.9 kB / 0.765 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.008206, allocations: 44.27 kB / 0.765 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.008218, allocations: 4 kB / 0.7651 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.008239, allocations: 30.56 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.008241, allocations: 0 / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0001967/0.008438, allocations: 120.1 kB / 0.7652 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.008467, allocations: 55.39 kB / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.008547, allocations: 140.1 kB / 0.7654 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.00856, allocations: 29.7 kB / 0.7654 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.008626, allocations: 144.6 kB / 0.7655 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.008662, allocations: 74.03 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.008704, allocations: 33.7 kB / 0.7657 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.008795, allocations: 326.8 kB / 0.766 GB, free: 420 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.008822, allocations: 15.98 kB / 0.766 GB, free: 404 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.00886, allocations: 44.06 kB / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.008936, allocations: 75.78 kB / 0.7661 GB, free: 276 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008938, allocations: 0.6875 kB / 0.7661 GB, free: 276 kB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001089/0.009047, allocations: 98.94 kB / 0.7662 GB, free: 172 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.00906, allocations: 4 kB / 0.7662 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.009064, allocations: 0 / 0.7662 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.009078, allocations: 4 kB / 0.7662 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.009233, allocations: 55.06 kB / 0.7662 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.009237, allocations: 0 / 0.7662 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.00928, allocations: 19.88 kB / 0.7663 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.00929, allocations: 8 kB / 0.7663 GB, free: 84 kB / 0.7136 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 (21): * Single equations (assignments): 21 * 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 9.003e-05/0.00938, allocations: 117.8 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.009405, allocations: 18.73 kB / 0.7664 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.009434, allocations: 21.12 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.009436, allocations: 3.938 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.009439, allocations: 0 / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.009443, allocations: 3.984 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.00959, allocations: 149.7 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.009591, allocations: 0 / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.009696, allocations: 53.09 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009698, allocations: 0 / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.009705, allocations: 1.312 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009706, allocations: 4 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.00971, allocations: 0 / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.009848, allocations: 202 kB / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.009861, allocations: 17.38 kB / 0.7668 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.009874, allocations: 8 kB / 0.7668 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.009927, allocations: 11.98 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.009975, allocations: 15.97 kB / 0.7669 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.009983, allocations: 4.656 kB / 0.7669 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.01001, allocations: 29.48 kB / 0.7669 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01001, allocations: 0 / 0.7669 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001564/0.01016, allocations: 56.94 kB / 0.767 GB, free: 15.34 MB / 0.7292 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 (20): * Single equations (assignments): 20 * 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.704e-05/0.01025, allocations: 81.36 kB / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01038, allocations: 71.08 kB / 0.7671 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.01038, allocations: 4 kB / 0.7671 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.01043, allocations: 53.25 kB / 0.7672 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01063, allocations: 38.44 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.01114, allocations: 388.2 kB / 0.7676 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.01119, allocations: 81.05 kB / 0.7676 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.207e-05/0.01125, allocations: 19.27 kB / 0.7677 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.01133, allocations: 79.36 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.01134, allocations: 0 / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.004156/0.01549, allocations: 1.715 MB / 0.7694 GB, free: 12.9 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.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.1307458519004285]