Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.002191/0.002191, allocations: 85.48 kB / 19.44 MB, free: 344 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.002084/0.002084, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 178] 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 3.493/3.493, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] 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.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.135e-06/3.135e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.646e-05, allocations: 5.641 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002805/0.002842, allocations: 1.176 MB / 0.8786 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.005332, allocations: 1.507 MB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.005438, allocations: 0.7812 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.759e-05/0.005506, allocations: 23.67 kB / 0.8801 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.005716, allocations: 69.56 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.00709, allocations: 440.7 kB / 0.8806 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000715/0.007805, allocations: 0.5389 MB / 0.8811 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.007996, allocations: 64.05 kB / 0.8812 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.008405, allocations: 292.6 kB / 0.8815 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.008719, allocations: 151.6 kB / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.008825, allocations: 56 kB / 0.8817 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.008968, allocations: 60.5 kB / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.009042, allocations: 53.36 kB / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.009265, allocations: 155.7 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008538/0.01012, allocations: 0.6271 MB / 0.8825 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01012, allocations: 0 / 0.8825 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01012, allocations: 3.125 kB / 0.8825 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.01013, allocations: 0 / 0.8825 GB, free: 1.469 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001232/0.01136, allocations: 0.7591 MB / 0.8833 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.01141, allocations: 8.031 kB / 0.8833 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.01156, allocations: 48.8 kB / 0.8833 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.01204, allocations: 251.8 kB / 0.8836 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.01208, allocations: 20.38 kB / 0.8836 GB, free: 308 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.01216, allocations: 32.36 kB / 0.8836 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.01245, allocations: 144.3 kB / 0.8838 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.01246, allocations: 192 / 0.8838 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.01248, allocations: 12.36 kB / 0.8838 GB, free: 116 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.01249, allocations: 7.938 kB / 0.8838 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.01269, allocations: 92.56 kB / 0.8839 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.01391, allocations: 0.6707 MB / 0.8845 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.01429, allocations: 131.3 kB / 0.8847 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.0144, allocations: 51.67 kB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.01442, allocations: 7.984 kB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.01474, allocations: 173.9 kB / 0.8849 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.01474, allocations: 0 / 0.8849 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0006158/0.01536, allocations: 275.8 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.01542, allocations: 55.41 kB / 0.8852 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.01582, allocations: 344.2 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.01588, allocations: 37.7 kB / 0.8856 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.01608, allocations: 211.3 kB / 0.8858 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.01615, allocations: 59.53 kB / 0.8858 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.01638, allocations: 115.5 kB / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003149/0.01669, allocations: 0.5235 MB / 0.8864 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.01718, allocations: 314.9 kB / 0.8867 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.01778, allocations: 437.8 kB / 0.8872 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.01867, allocations: 453.2 kB / 0.8876 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01868, allocations: 0 / 0.8876 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001313/0.01999, allocations: 0.7877 MB / 0.8884 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.02012, allocations: 138.8 kB / 0.8885 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.02012, allocations: 0 / 0.8885 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.02015, allocations: 4 kB / 0.8885 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.02025, allocations: 23.94 kB / 0.8885 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.02027, allocations: 7.984 kB / 0.8885 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.02081, allocations: 92.05 kB / 0.8886 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.02088, allocations: 31.97 kB / 0.8886 GB, free: 10.75 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0002351/0.02112, allocations: 200.5 kB / 0.8888 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.02117, allocations: 35.84 kB / 0.8889 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.02123, allocations: 22.28 kB / 0.8889 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.02123, allocations: 11.94 kB / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.02124, allocations: 0 / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.02125, allocations: 3.984 kB / 0.8889 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.02202, allocations: 0.5456 MB / 0.8894 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02202, allocations: 0 / 0.8894 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.654e-05/0.02212, allocations: 23.92 kB / 0.8895 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.02212, allocations: 4 kB / 0.8895 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.02214, allocations: 0 / 0.8895 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.02214, allocations: 4 kB / 0.8895 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02214, allocations: 0 / 0.8895 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.02279, allocations: 445.4 kB / 0.8899 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.02284, allocations: 23.89 kB / 0.8899 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.02287, allocations: 7.984 kB / 0.8899 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.02295, allocations: 0 / 0.8899 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.02302, allocations: 23.91 kB / 0.8899 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.02304, allocations: 12 kB / 0.89 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002353/0.02327, allocations: 221.1 kB / 0.8902 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02327, allocations: 0 / 0.8902 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003879/0.02366, allocations: 87.88 kB / 0.8903 GB, free: 9.031 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,tunSta.y,tOff.booPul.y,tOn.booPul.y,u.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002249/0.02388, allocations: 126.2 kB / 0.8904 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.02497, allocations: 0.7267 MB / 0.8911 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.02497, allocations: 0 / 0.8911 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.02516, allocations: 87.53 kB / 0.8912 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.0257, allocations: 80.92 kB / 0.8912 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.02654, allocations: 421.2 kB / 0.8916 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.0267, allocations: 142.2 kB / 0.8918 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.119e-05/0.02678, allocations: 18.23 kB / 0.8918 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.02686, allocations: 32.48 kB / 0.8918 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.02686, allocations: 4 kB / 0.8918 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of Templates: time 0.01154/0.0384, allocations: 5.239 MB / 0.897 GB, free: 2.199 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.858437723945826]