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.008 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.00174/0.00174, allocations: 210.5 kB / 22.99 MB, free: 4.41 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002085/0.002085, allocations: 73.52 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3789, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002693/0.3816, allocations: 1.131 MB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.3841, allocations: 1.506 MB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3843, allocations: 4 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.294e-05/0.3843, allocations: 23.67 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.3845, allocations: 55.52 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3857, allocations: 469.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.3863, allocations: 0.5263 MB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.3865, allocations: 72 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.3868, allocations: 203.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.3871, allocations: 191.3 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.3872, allocations: 56 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3874, allocations: 67.98 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.3874, allocations: 51.84 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.3877, allocations: 167.4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007954/0.3885, allocations: 0.5567 MB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3885, allocations: 7.922 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3885, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3885, allocations: 0 / 1.332 GB, free: 11.9 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.001068/0.3896, allocations: 0.6294 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3896, allocations: 8.031 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3898, allocations: 36.8 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.3902, allocations: 249.2 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.3902, allocations: 20.38 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.221e-05/0.3903, allocations: 32.36 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.3906, allocations: 145.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3906, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3906, allocations: 11.98 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3907, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3908, allocations: 87.97 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.3919, allocations: 0.5738 MB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.3922, allocations: 126.7 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3923, allocations: 48.84 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3924, allocations: 4 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.3927, allocations: 161.3 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.3927, allocations: 0 / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005878/0.3933, allocations: 267.2 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.3933, allocations: 67.33 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.3936, allocations: 236.9 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.3937, allocations: 37.7 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3938, allocations: 148.6 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.3939, allocations: 63.47 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.3941, allocations: 101.9 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3943, allocations: 334.8 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.3947, allocations: 275 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.3951, allocations: 365.4 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.3957, allocations: 395.1 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3957, allocations: 4 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001189/0.3969, allocations: 0.7097 MB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.3971, allocations: 134.8 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3971, allocations: 4 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3971, allocations: 4 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3972, allocations: 27.88 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3972, allocations: 7.984 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.3979, allocations: 120 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.3979, allocations: 23.98 kB / 1.337 GB, free: 6.098 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.0002099/0.3981, allocations: 162.2 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3982, allocations: 19.86 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.3982, allocations: 22.22 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3982, allocations: 11.94 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3982, allocations: 4.094 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3982, allocations: 7.969 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.3989, allocations: 474 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3989, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.399, allocations: 23.92 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.399, allocations: 0 / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.399, allocations: 11.94 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.399, allocations: 0 / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.399, allocations: 0 / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.3996, allocations: 377.6 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.3997, allocations: 19.83 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.3997, allocations: 15.92 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.3998, allocations: 0 / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3998, allocations: 27.84 kB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3999, allocations: 8 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001722/0.4, allocations: 168.5 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4, allocations: 0 / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003954/0.4004, allocations: 83.89 kB / 1.339 GB, free: 4.625 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.0001961/0.4006, allocations: 123.2 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008484/0.4015, allocations: 0.6236 MB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4015, allocations: 0 / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.4016, allocations: 75.91 kB / 1.339 GB, free: 3.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.4021, allocations: 65.62 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008867/0.403, allocations: 447 kB / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.4032, allocations: 142.2 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.4032, allocations: 19.44 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.4032, allocations: 4 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of Templates: time 0.007406/0.4106, allocations: 4.01 MB / 1.344 GB, free: 15.05 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 -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.469286656996701]