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.001292/0.001292, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001441/0.001441, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.94/2.94, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.002006/0.002006, allocations: 67.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002261/1.087, allocations: 1.225 MB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001607/1.088, allocations: 1.515 MB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/1.089, allocations: 2.469 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/1.089, allocations: 19.03 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/1.089, allocations: 65.52 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/1.09, allocations: 462 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004083/1.09, allocations: 0.5263 MB / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/1.09, allocations: 76.16 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/1.09, allocations: 200.6 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/1.091, allocations: 186.5 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/1.091, allocations: 53.81 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/1.091, allocations: 76.5 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/1.091, allocations: 53.5 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/1.091, allocations: 196.1 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004925/1.091, allocations: 0.5531 MB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.091, allocations: 0.6562 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.765e-06/1.091, allocations: 0.5625 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.353e-06/1.091, allocations: 0 / 1.327 GB, free: 21.95 MB / 1.061 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.0008497/1.092, allocations: 0.689 MB / 1.328 GB, free: 21.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.092, allocations: 18.27 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/1.092, allocations: 33.7 kB / 1.328 GB, free: 21.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/1.093, allocations: 311.2 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/1.093, allocations: 18.27 kB / 1.328 GB, free: 21.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-05/1.093, allocations: 31.97 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/1.093, allocations: 151.6 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.093, allocations: 0.5938 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/1.093, allocations: 5.375 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/1.093, allocations: 3.938 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/1.093, allocations: 88.22 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/1.095, allocations: 0.7449 MB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/1.095, allocations: 116.9 kB / 1.329 GB, free: 20.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/1.095, allocations: 56.95 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/1.095, allocations: 1.156 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/1.095, allocations: 160.8 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.934e-06/1.095, allocations: 0 / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0005629/1.096, allocations: 263.3 kB / 1.33 GB, free: 20.15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.096, allocations: 59.88 kB / 1.33 GB, free: 20.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/1.096, allocations: 240.4 kB / 1.33 GB, free: 19.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/1.096, allocations: 38.38 kB / 1.33 GB, free: 19.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.096, allocations: 154.7 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/1.096, allocations: 63.53 kB / 1.33 GB, free: 19.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/1.097, allocations: 100.1 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/1.097, allocations: 336.8 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/1.097, allocations: 151.6 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/1.097, allocations: 241.2 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/1.098, allocations: 392.5 kB / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.098, allocations: 1.25 kB / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009408/1.099, allocations: 0.5994 MB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/1.099, allocations: 131.9 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.099, allocations: 8.125 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.099, allocations: 8.188 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/1.099, allocations: 27.83 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.099, allocations: 5.172 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/1.1, allocations: 117.8 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/1.1, allocations: 29.17 kB / 1.332 GB, free: 18.3 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,tOff.booPul.y,$PRE.tOff.booPul.y,tOn.booPul.y,$PRE.tOn.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.0001592/1.1, allocations: 154 kB / 1.332 GB, free: 18.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/1.1, allocations: 23.33 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/1.1, allocations: 29.42 kB / 1.332 GB, free: 18.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.1, allocations: 6.297 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.1, allocations: 1.125 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.1, allocations: 1.266 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/1.1, allocations: 0.5511 MB / 1.333 GB, free: 17.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.101, allocations: 0 / 1.333 GB, free: 17.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/1.101, allocations: 23.75 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.101, allocations: 6.25 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/1.101, allocations: 2.641 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/1.101, allocations: 1.438 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.101, allocations: 4.734 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/1.101, allocations: 376.9 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/1.101, allocations: 104 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/1.101, allocations: 3.641 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/1.101, allocations: 5.75 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/1.101, allocations: 20.72 kB / 1.334 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/1.101, allocations: 9.406 kB / 1.334 GB, free: 17.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000153/1.101, allocations: 167.6 kB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.101, allocations: 1.312 kB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004116/1.102, allocations: 79.94 kB / 1.334 GB, free: 17.23 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,u.booPul.y,tOn.booPul.y,tOff.booPul.y,tunSta.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.000155/1.102, allocations: 123.4 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00071/1.103, allocations: 0.5045 MB / 1.334 GB, free: 16.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.103, allocations: 0.9062 kB / 1.334 GB, free: 16.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/1.103, allocations: 75.38 kB / 1.334 GB, free: 16.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/1.103, allocations: 73.56 kB / 1.335 GB, free: 16.72 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/1.104, allocations: 442 kB / 1.335 GB, free: 16.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/1.104, allocations: 0.7483 MB / 1.336 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/1.105, allocations: 22.25 kB / 1.336 GB, free: 15.72 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.105, allocations: 3.938 kB / 1.336 GB, free: 15.71 MB / 1.061 GB Notification: Performance of Templates: time 0.008064/1.113, allocations: 3.899 MB / 1.339 GB, free: 15.32 MB / 1.061 GB " [Timeout remaining time 299] 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 -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: 11.906356003004475]