Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00179/0.00179, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002239/0.002239, allocations: 212.9 kB / 22.99 MB, free: 4.957 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.61/1.61, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.378/3.378, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002108/0.002108, allocations: 70.86 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3995, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002725/0.4022, allocations: 1.121 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.4044, allocations: 1.502 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.4045, allocations: 7.938 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.11e-05/0.4046, allocations: 23.73 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.4048, allocations: 63.5 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.406, allocations: 461.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006202/0.4066, allocations: 0.5341 MB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.4068, allocations: 72.73 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.407, allocations: 207.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.4073, allocations: 191.3 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.593e-05/0.4074, allocations: 52 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4075, allocations: 67.98 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.4076, allocations: 51.78 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.4078, allocations: 167.5 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.4085, allocations: 0.5567 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4085, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4085, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.4085, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 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.001046/0.4095, allocations: 0.6294 MB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4096, allocations: 12.03 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.4097, allocations: 32.8 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.4101, allocations: 249.2 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.4102, allocations: 24.38 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.4102, allocations: 32.36 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.4105, allocations: 145.7 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4105, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.4106, allocations: 15.94 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/0.4106, allocations: 7.984 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.4108, allocations: 83.97 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.4118, allocations: 0.5738 MB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.4121, allocations: 114.8 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.4122, allocations: 48.84 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4122, allocations: 4 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.4126, allocations: 168.7 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.4126, allocations: 0 / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005316/0.4132, allocations: 259.1 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.4132, allocations: 59.34 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.4135, allocations: 240.9 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.4135, allocations: 37.7 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4137, allocations: 148.6 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.4137, allocations: 71.34 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.4139, allocations: 97.89 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4141, allocations: 338.8 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.4145, allocations: 279 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.415, allocations: 358.2 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.4155, allocations: 398.8 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4155, allocations: 0 / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001146/0.4166, allocations: 0.7175 MB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.4168, allocations: 130.8 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4168, allocations: 4 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/0.4168, allocations: 11.92 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4169, allocations: 24.16 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4169, allocations: 8 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/0.4176, allocations: 119.7 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.4176, allocations: 27.98 kB / 1.337 GB, free: 6.125 MB / 1.029 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.000217/0.4178, allocations: 154.2 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.4179, allocations: 27.84 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.4179, allocations: 22.28 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.4179, allocations: 7.938 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.418, allocations: 0 / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.418, allocations: 3.984 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.4186, allocations: 474 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4186, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.4187, allocations: 15.98 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4187, allocations: 8 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.4187, allocations: 8.031 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4187, allocations: 4 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4187, allocations: 3.984 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.4193, allocations: 377.7 kB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.4193, allocations: 27.83 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.4193, allocations: 7.938 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/0.4194, allocations: 7.984 kB / 1.338 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.4195, allocations: 15.97 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.4195, allocations: 8 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001628/0.4197, allocations: 168.5 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4197, allocations: 8.062 kB / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003984/0.4201, allocations: 75.89 kB / 1.339 GB, free: 4.664 MB / 1.029 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.0001799/0.4202, allocations: 121.2 kB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008834/0.4211, allocations: 0.6184 MB / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4211, allocations: 0 / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.4213, allocations: 76.47 kB / 1.339 GB, free: 3.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.4218, allocations: 69.59 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.4226, allocations: 422.8 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.4227, allocations: 138.1 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.088e-05/0.4228, allocations: 25.95 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.4229, allocations: 23.42 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4229, allocations: 0 / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of Templates: time 0.01063/0.4335, allocations: 5.535 MB / 1.346 GB, free: 13.7 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.805226365002454]