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.PIDIntegralTime.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.0009259/0.0009259, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.001354/0.001354, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.9741/0.9741, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.318/2.318, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.726e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001585/0.001612, allocations: 0.8373 MB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.002609, allocations: 0.8936 MB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.00268, allocations: 0 / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.002718, allocations: 11.86 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.458e-05/0.002813, allocations: 15.81 kB / 0.8915 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.753e-05/0.00288, allocations: 35.95 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.002984, allocations: 111.8 kB / 0.8916 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.00311, allocations: 45.56 kB / 0.8917 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003218, allocations: 71.81 kB / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.003271, allocations: 35.89 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003289, allocations: 8 kB / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.0033, allocations: 12 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.003323, allocations: 27.91 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.003351, allocations: 23.92 kB / 0.8918 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003465, allocations: 83.66 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.003468, allocations: 0 / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003469, allocations: 0 / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.003474, allocations: 0 / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003761/0.00385, allocations: 428.3 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.003889, allocations: 8.625 kB / 0.8923 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.003921, allocations: 20.84 kB / 0.8924 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.004038, allocations: 140.4 kB / 0.8925 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.004048, allocations: 12.38 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.004061, allocations: 16.31 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.004204, allocations: 97.81 kB / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.00421, allocations: 192 / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.004219, allocations: 4.375 kB / 0.8926 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004225, allocations: 8.375 kB / 0.8926 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.004266, allocations: 27.91 kB / 0.8927 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.00458, allocations: 347.9 kB / 0.893 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.004734, allocations: 75.14 kB / 0.8931 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.004766, allocations: 31.67 kB / 0.8931 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.004777, allocations: 0 / 0.8931 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.004951, allocations: 33.58 kB / 0.8931 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.004952, allocations: 0 / 0.8931 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0001537/0.005106, allocations: 85.58 kB / 0.8932 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.005133, allocations: 55.34 kB / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.005198, allocations: 177.8 kB / 0.8934 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.00521, allocations: 25.7 kB / 0.8934 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.005265, allocations: 162.7 kB / 0.8936 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.005288, allocations: 23.75 kB / 0.8936 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.005328, allocations: 31.34 kB / 0.8937 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.005433, allocations: 0.4883 MB / 0.8941 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.005455, allocations: 11.98 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.005472, allocations: 8 kB / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.005513, allocations: 35.61 kB / 0.8942 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005515, allocations: 4 kB / 0.8942 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.477e-05/0.00561, allocations: 65.64 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.00563, allocations: 10.19 kB / 0.8943 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.005638, allocations: 3.984 kB / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.005654, allocations: 0 / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.005733, allocations: 19.94 kB / 0.8943 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.005737, allocations: 3.984 kB / 0.8943 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.005766, allocations: 8 kB / 0.8943 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.005771, allocations: 4 kB / 0.8943 GB, free: 4.875 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.801e-05/0.005839, allocations: 160.5 kB / 0.8945 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.005856, allocations: 19.89 kB / 0.8945 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.005882, allocations: 12.42 kB / 0.8945 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005884, allocations: 0 / 0.8945 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005886, allocations: 0 / 0.8945 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005889, allocations: 0 / 0.8945 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.006, allocations: 133.1 kB / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006001, allocations: 0 / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.006049, allocations: 23.92 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.006052, allocations: 4 kB / 0.8946 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.006057, allocations: 4 kB / 0.8946 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006059, allocations: 4 kB / 0.8946 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006059, allocations: 0 / 0.8946 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.006183, allocations: 228.5 kB / 0.8949 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.006191, allocations: 7.891 kB / 0.8949 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-06/0.0062, allocations: 4 kB / 0.8949 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.006237, allocations: 4 kB / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.00627, allocations: 7.984 kB / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.006273, allocations: 4 kB / 0.8949 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.006312, allocations: 131.2 kB / 0.895 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006312, allocations: 4 kB / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001428/0.006455, allocations: 23.95 kB / 0.895 GB, free: 4.055 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 (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 Backend phase and start with SimCode phase: time 8.732e-05/0.006542, allocations: 103.2 kB / 0.8951 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.006625, allocations: 39.64 kB / 0.8952 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006627, allocations: 4 kB / 0.8952 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.006656, allocations: 31.61 kB / 0.8952 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.006855, allocations: 15.94 kB / 0.8952 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.00718, allocations: 213.9 kB / 0.8954 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.007217, allocations: 63.34 kB / 0.8955 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.007248, allocations: 3.984 kB / 0.8955 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.007315, allocations: 90.19 kB / 0.8956 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of SimCode: time 6.22e-07/0.007315, allocations: 0 / 0.8956 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of Templates: time 0.00292/0.01024, allocations: 1.17 MB / 0.8967 GB, free: 2.332 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.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.218950464390218]