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.001456/0.001456, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001707/0.001707, allocations: 211.8 kB / 22.99 MB, free: 4.984 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.001922/0.001922, allocations: 66.31 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4404, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002712/0.4431, allocations: 1.129 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.4456, allocations: 1.498 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.4457, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.735e-05/0.4457, allocations: 23.67 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.4459, allocations: 63.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.447, allocations: 461.8 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.4476, allocations: 0.5264 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.4478, allocations: 71.97 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.448, allocations: 211.4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.4483, allocations: 187.3 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-05/0.4484, allocations: 59.98 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.4485, allocations: 64 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.4486, allocations: 51.84 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.4488, allocations: 175.3 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006442/0.4494, allocations: 0.5568 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4494, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4494, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4494, allocations: 0 / 1.332 GB, free: 11.95 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.001154/0.4506, allocations: 0.6332 MB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4506, allocations: 8.031 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.4508, allocations: 40.8 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.4514, allocations: 245.2 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.4514, allocations: 24.38 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.4515, allocations: 28.38 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.4518, allocations: 149.8 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4518, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4518, allocations: 8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.4518, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.452, allocations: 87.89 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.4531, allocations: 0.5777 MB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.4534, allocations: 118.5 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.4535, allocations: 53.02 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4535, allocations: 0 / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.4539, allocations: 160.7 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.4539, allocations: 4 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005345/0.4544, allocations: 263.2 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.4545, allocations: 55.34 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.4547, allocations: 244.9 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.4548, allocations: 41.69 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.4549, allocations: 148.6 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.455, allocations: 67.47 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.4552, allocations: 93.89 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002257/0.4554, allocations: 334.8 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.4559, allocations: 279 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.4564, allocations: 358.2 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.457, allocations: 406.8 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.457, allocations: 0 / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00119/0.4582, allocations: 0.7099 MB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.4583, allocations: 134.8 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4583, allocations: 4 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.4583, allocations: 4 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4584, allocations: 27.86 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4584, allocations: 7.938 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/0.4591, allocations: 115.8 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.4591, allocations: 31.97 kB / 1.337 GB, free: 6.133 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.0002036/0.4593, allocations: 158.2 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.4594, allocations: 23.86 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.4594, allocations: 26.27 kB / 1.338 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4595, allocations: 3.938 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4595, allocations: 4 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4595, allocations: 4 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.4601, allocations: 479.4 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4601, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.4602, allocations: 16 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4602, allocations: 3.938 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.4602, allocations: 11.92 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4602, allocations: 0 / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4602, allocations: 0 / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.4607, allocations: 368.5 kB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.4608, allocations: 35.8 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.4608, allocations: 4 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.4609, allocations: 16 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.4609, allocations: 15.97 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.461, allocations: 15.98 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001595/0.4611, allocations: 164.5 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4611, allocations: 0 / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003745/0.4615, allocations: 83.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.0001958/0.4617, allocations: 117.2 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008205/0.4625, allocations: 0.6267 MB / 1.339 GB, free: 3.844 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4625, allocations: 0 / 1.339 GB, free: 3.844 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4626, allocations: 71.91 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.0004946/0.4631, allocations: 63.39 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009301/0.4641, allocations: 425.3 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.4642, allocations: 138.2 kB / 1.34 GB, free: 3.121 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.985e-05/0.4643, allocations: 21.95 kB / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.4643, allocations: 23.38 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4644, allocations: 0 / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of Templates: time 0.01116/0.4755, allocations: 5.536 MB / 1.346 GB, free: 13.71 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 gbode -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.490758824991644]