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.001684/0.001684, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002328/0.002328, allocations: 218.8 kB / 23.01 MB, free: 4.605 MB / 14.72 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 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.318/3.318, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 67.23 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3373, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.00253/0.3398, allocations: 1.228 MB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.342, allocations: 1.522 MB / 1.357 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.3421, allocations: 0 / 1.357 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.771e-05/0.3422, allocations: 23.67 kB / 1.357 GB, free: 5.199 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.3424, allocations: 67.5 kB / 1.357 GB, free: 5.133 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3434, allocations: 459.5 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.344, allocations: 0.5186 MB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.3442, allocations: 79.97 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.3445, allocations: 203.5 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.3448, allocations: 195.2 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.3449, allocations: 55.98 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.345, allocations: 67.98 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.3451, allocations: 51.84 kB / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3453, allocations: 191.3 kB / 1.359 GB, free: 3.34 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.3459, allocations: 0.5606 MB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3459, allocations: 0 / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3459, allocations: 3.938 kB / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3459, allocations: 0 / 1.359 GB, free: 2.773 MB / 1.045 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.001062/0.347, allocations: 0.6294 MB / 1.36 GB, free: 2.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.347, allocations: 12.03 kB / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3471, allocations: 36.75 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.3475, allocations: 253.3 kB / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3476, allocations: 16.38 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.3476, allocations: 32.38 kB / 1.36 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.3479, allocations: 149.8 kB / 1.36 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3479, allocations: 0 / 1.36 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.3479, allocations: 4 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3479, allocations: 4 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.3481, allocations: 91.95 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3492, allocations: 0.7096 MB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.3495, allocations: 110.6 kB / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.3496, allocations: 57.02 kB / 1.361 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.3496, allocations: 8 kB / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.35, allocations: 156.5 kB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.35, allocations: 0 / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0005522/0.3505, allocations: 262.8 kB / 1.362 GB, free: 108 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3506, allocations: 55.41 kB / 1.362 GB, free: 40 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.3508, allocations: 240.9 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.3509, allocations: 45.69 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.351, allocations: 144.6 kB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.3512, allocations: 67.47 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.3514, allocations: 93.89 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.3516, allocations: 338.8 kB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.352, allocations: 148.2 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.3524, allocations: 244.3 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.3529, allocations: 391.5 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3529, allocations: 0 / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001018/0.3539, allocations: 0.5936 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.354, allocations: 138.8 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.354, allocations: 4 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.3541, allocations: 11.97 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3542, allocations: 23.92 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3542, allocations: 7.938 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.3548, allocations: 120 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.3549, allocations: 27.98 kB / 1.364 GB, free: 13.25 MB / 1.061 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.0001901/0.3551, allocations: 157.6 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3551, allocations: 27.86 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.3552, allocations: 30.2 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3552, allocations: 4 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3552, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3552, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.3559, allocations: 0.5257 MB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3559, allocations: 0 / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.356, allocations: 19.88 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.356, allocations: 4 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.356, allocations: 7.984 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.356, allocations: 7.984 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.356, allocations: 4 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.3565, allocations: 378.3 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.3566, allocations: 23.83 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.3566, allocations: 4 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.3567, allocations: 7.984 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.3567, allocations: 11.98 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3568, allocations: 27.92 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001613/0.3569, allocations: 164.5 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3569, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003908/0.3573, allocations: 83.89 kB / 1.366 GB, free: 11.71 MB / 1.061 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.0001678/0.3575, allocations: 111.2 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008255/0.3583, allocations: 0.4979 MB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3583, allocations: 4 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3584, allocations: 77.92 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.359, allocations: 64.31 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007912/0.3598, allocations: 447 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3602, allocations: 0.7441 MB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.3603, allocations: 31.42 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.3603, allocations: 0 / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of Templates: time 0.006967/0.3672, allocations: 3.912 MB / 1.371 GB, free: 5.77 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 11.843838650995167]