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.001388/0.001388, allocations: 104.3 kB / 19.74 MB, free: 2.082 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.001618/0.001618, allocations: 215.5 kB / 23.04 MB, free: 4.867 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.625/1.625, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.421/3.421, allocations: 0.5097 GB / 0.8156 GB, free: 18.38 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.002109/0.002109, allocations: 70.69 kB / 1.185 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4079, allocations: 181.4 MB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002681/0.4106, allocations: 1.127 MB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.4128, allocations: 1.499 MB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4129, allocations: 4 kB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.52e-05/0.413, allocations: 23.67 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.4131, allocations: 63.5 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.4142, allocations: 464.7 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006304/0.4149, allocations: 0.5186 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.4151, allocations: 71.97 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.4153, allocations: 203.5 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.4156, allocations: 167.3 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.071e-05/0.4156, allocations: 52 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.4158, allocations: 60 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.4158, allocations: 63.7 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.416, allocations: 171.5 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.4167, allocations: 0.5567 MB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4167, allocations: 8 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4167, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.4167, allocations: 0 / 1.367 GB, free: 10.57 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.001033/0.4177, allocations: 0.627 MB / 1.368 GB, free: 9.887 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4178, allocations: 12.02 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4179, allocations: 40.75 kB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.4183, allocations: 241.3 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.4183, allocations: 24.31 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.4184, allocations: 36.38 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.4187, allocations: 145.8 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4187, allocations: 0 / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.4188, allocations: 8 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.4188, allocations: 4 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.4189, allocations: 91.89 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009603/0.4199, allocations: 0.5699 MB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.4203, allocations: 122.5 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.4204, allocations: 49.02 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.4204, allocations: 4 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.4207, allocations: 163.1 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.4207, allocations: 0 / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0005215/0.4212, allocations: 263.9 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4213, allocations: 59.34 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.4215, allocations: 236.9 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.4216, allocations: 45.69 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.4217, allocations: 152.5 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.4218, allocations: 63.47 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.422, allocations: 101.9 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4221, allocations: 330.8 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.4225, allocations: 279 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.423, allocations: 366 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.4235, allocations: 387.6 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.4235, allocations: 4 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001127/0.4247, allocations: 0.7135 MB / 1.372 GB, free: 5.102 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.4248, allocations: 139.1 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4248, allocations: 4.094 kB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.4248, allocations: 7.984 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.4249, allocations: 31.92 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.4249, allocations: 7.938 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.4256, allocations: 111.8 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.4256, allocations: 31.97 kB / 1.372 GB, free: 4.75 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.0001928/0.4258, allocations: 153.7 kB / 1.373 GB, free: 4.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.4259, allocations: 19.86 kB / 1.373 GB, free: 4.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.4259, allocations: 30.27 kB / 1.373 GB, free: 4.535 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4259, allocations: 7.875 kB / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4259, allocations: 0 / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4259, allocations: 0 / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.4266, allocations: 480.6 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4266, allocations: 0 / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.4267, allocations: 19.94 kB / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4267, allocations: 3.938 kB / 1.373 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.4267, allocations: 15.92 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4267, allocations: 0 / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4267, allocations: 0 / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.4272, allocations: 371.2 kB / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.4272, allocations: 23.81 kB / 1.374 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.4273, allocations: 11.94 kB / 1.374 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.4274, allocations: 4 kB / 1.374 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.4274, allocations: 24.03 kB / 1.374 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4274, allocations: 7.984 kB / 1.374 GB, free: 3.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001709/0.4276, allocations: 172.5 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4276, allocations: 0 / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003786/0.428, allocations: 79.89 kB / 1.374 GB, free: 3.293 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.0001903/0.4282, allocations: 115.2 kB / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008358/0.429, allocations: 0.6254 MB / 1.375 GB, free: 2.473 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.429, allocations: 0 / 1.375 GB, free: 2.473 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.4291, allocations: 77.39 kB / 1.375 GB, free: 2.398 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.4297, allocations: 78.91 kB / 1.375 GB, free: 2.324 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008125/0.4305, allocations: 417.3 kB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.4306, allocations: 138.2 kB / 1.375 GB, free: 1.738 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.361e-05/0.4307, allocations: 21.95 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.4308, allocations: 19.44 kB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.4308, allocations: 0 / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of Templates: time 0.01074/0.4415, allocations: 5.519 MB / 1.381 GB, free: 12.33 MB / 1.076 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 -s cvode -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: 9.810896172886714]