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.PIIntegralTime.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.001381/0.001381, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.00152/0.00152, allocations: 165 kB / 23.01 MB, free: 1.551 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.9567/0.9567, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.137/2.137, allocations: 429.5 MB / 0.6733 GB, free: 4.008 MB / 0.6355 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.502e-05, allocations: 10.91 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.007934/0.007959, allocations: 0.9512 MB / 0.8791 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.008983, allocations: 0.9178 MB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.009048, allocations: 0.7188 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.009096, allocations: 15.8 kB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.0092, allocations: 21.77 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.909e-05/0.009299, allocations: 47.94 kB / 0.8801 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.009462, allocations: 156.2 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.009638, allocations: 73.2 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.009765, allocations: 92.33 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.009832, allocations: 48.67 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.009862, allocations: 16 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.00988, allocations: 21.09 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.009911, allocations: 35.8 kB / 0.8805 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.00996, allocations: 47.89 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.01011, allocations: 108.2 kB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.01011, allocations: 3.984 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.01011, allocations: 1.156 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.01012, allocations: 3.938 kB / 0.8807 GB, free: 3.727 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.003498/0.01361, allocations: 465.1 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.01366, allocations: 13.06 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.01371, allocations: 24.84 kB / 0.8812 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.01391, allocations: 160.3 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.01392, allocations: 13.5 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.01395, allocations: 16.38 kB / 0.8814 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.01418, allocations: 133.2 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.01419, allocations: 192 / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.01421, allocations: 8.375 kB / 0.8815 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.01422, allocations: 5.469 kB / 0.8815 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.01434, allocations: 55.89 kB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.01487, allocations: 454.5 kB / 0.882 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.01516, allocations: 123.1 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.01523, allocations: 39.92 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.01524, allocations: 8 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.01527, allocations: 33.39 kB / 0.8822 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.01527, allocations: 0 / 0.8822 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002513/0.01552, allocations: 121.1 kB / 0.8823 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.01555, allocations: 51.41 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.01564, allocations: 185.8 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.01565, allocations: 27.27 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.01572, allocations: 163.2 kB / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.01576, allocations: 51.53 kB / 0.8828 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.0158, allocations: 31.38 kB / 0.8828 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01593, allocations: 0.4972 MB / 0.8833 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.01597, allocations: 11.98 kB / 0.8833 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.01601, allocations: 23.98 kB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.763e-05/0.01609, allocations: 55.75 kB / 0.8834 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0161, allocations: 0 / 0.8834 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.003177/0.01927, allocations: 93.64 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01929, allocations: 11.92 kB / 0.8835 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.0193, allocations: 11.94 kB / 0.8835 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01932, allocations: 0 / 0.8835 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.01944, allocations: 27.98 kB / 0.8835 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01945, allocations: 0 / 0.8835 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.01949, allocations: 8 kB / 0.8835 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.0195, allocations: 4 kB / 0.8835 GB, free: 0.6562 MB / 0.8386 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 (14): * Single equations (assignments): 14 * 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 8.19e-05/0.01958, allocations: 164.6 kB / 0.8837 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.01961, allocations: 11.95 kB / 0.8837 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.01964, allocations: 16.38 kB / 0.8837 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01965, allocations: 4 kB / 0.8837 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01965, allocations: 7.938 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01965, allocations: 0 / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.01983, allocations: 172.5 kB / 0.8839 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01983, allocations: 0 / 0.8839 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.01992, allocations: 27.98 kB / 0.8839 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01992, allocations: 0 / 0.8839 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01993, allocations: 8 kB / 0.8839 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01994, allocations: 3.938 kB / 0.8839 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01994, allocations: 0 / 0.8839 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.02017, allocations: 256 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.02018, allocations: 11.95 kB / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.02019, allocations: 0 / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.828e-05/0.02024, allocations: 19.73 kB / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.02029, allocations: 7.984 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.02029, allocations: 8 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.02033, allocations: 131.2 kB / 0.8843 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02033, allocations: 3.938 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000147/0.02048, allocations: 31.89 kB / 0.8844 GB, free: 15.72 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 (14): * Single equations (assignments): 14 * 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 7.988e-05/0.02056, allocations: 115.2 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.02069, allocations: 70.97 kB / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.02069, allocations: 0 / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.02074, allocations: 43.61 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.02094, allocations: 23.98 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.02134, allocations: 267.3 kB / 0.8849 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.02138, allocations: 71.09 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.414e-05/0.02141, allocations: 8.484 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.02145, allocations: 16.5 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.02145, allocations: 4 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.002994/0.02445, allocations: 1.195 MB / 0.8861 GB, free: 13.93 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.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.590823823120445]