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.001592/0.001592, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001903/0.001903, allocations: 163.7 kB / 23.01 MB, free: 4.594 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.475/1.475, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.833/2.833, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.002158/0.002158, allocations: 63.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.978/0.9801, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002594/0.9827, allocations: 1.126 MB / 1.155 GB, free: 32.63 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.9847, allocations: 1.487 MB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.9848, allocations: 2.719 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.841e-05/0.9849, allocations: 26.16 kB / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.9851, allocations: 59.89 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.986, allocations: 463.4 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.9865, allocations: 0.5185 MB / 1.158 GB, free: 30.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.9867, allocations: 73.69 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.9868, allocations: 208.5 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.9871, allocations: 172.2 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.922e-05/0.9872, allocations: 54.28 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.9873, allocations: 65.64 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.9873, allocations: 54.28 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.9875, allocations: 171.1 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.988, allocations: 0.5565 MB / 1.159 GB, free: 30.44 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.988, allocations: 2.844 kB / 1.159 GB, free: 30.44 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.314e-06/0.988, allocations: 0 / 1.159 GB, free: 30.44 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.988, allocations: 0 / 1.159 GB, free: 30.44 MB / 1.076 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.0008963/0.9889, allocations: 0.6303 MB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.989, allocations: 9 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.9891, allocations: 35.2 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.9894, allocations: 255.5 kB / 1.16 GB, free: 29.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.9895, allocations: 21.16 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.9895, allocations: 31.19 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.9898, allocations: 146.9 kB / 1.16 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.9898, allocations: 0 / 1.16 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.9898, allocations: 10.8 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.9898, allocations: 2.781 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.99, allocations: 90.38 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.9909, allocations: 0.5768 MB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.9912, allocations: 124.6 kB / 1.161 GB, free: 29.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.9913, allocations: 47.05 kB / 1.161 GB, free: 29.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.9913, allocations: 0 / 1.161 GB, free: 29.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.9915, allocations: 167.2 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.9915, allocations: 0 / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.0004507/0.9919, allocations: 265.2 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.992, allocations: 58.25 kB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.9922, allocations: 242.1 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.9922, allocations: 37.73 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.9923, allocations: 154.9 kB / 1.162 GB, free: 28.51 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.9924, allocations: 61.8 kB / 1.162 GB, free: 28.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.9925, allocations: 102 kB / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.9926, allocations: 334.2 kB / 1.162 GB, free: 28.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.9929, allocations: 278.9 kB / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.9932, allocations: 365.5 kB / 1.163 GB, free: 27.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.9936, allocations: 391.8 kB / 1.163 GB, free: 27.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9936, allocations: 3.938 kB / 1.163 GB, free: 27.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000845/0.9945, allocations: 0.7223 MB / 1.164 GB, free: 26.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.026e-05/0.9945, allocations: 135.2 kB / 1.164 GB, free: 26.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.9945, allocations: 2.844 kB / 1.164 GB, free: 26.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.9946, allocations: 2.781 kB / 1.164 GB, free: 26.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.9947, allocations: 28.83 kB / 1.164 GB, free: 26.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.9947, allocations: 7.344 kB / 1.164 GB, free: 26.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.9953, allocations: 120.8 kB / 1.164 GB, free: 26.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.9953, allocations: 28.59 kB / 1.164 GB, free: 26.64 MB / 1.076 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.0001347/0.9955, allocations: 152.3 kB / 1.164 GB, free: 26.51 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.9955, allocations: 23.36 kB / 1.164 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.9955, allocations: 27.17 kB / 1.164 GB, free: 26.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.9955, allocations: 6.781 kB / 1.164 GB, free: 26.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9955, allocations: 8 kB / 1.164 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.9956, allocations: 0 / 1.164 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.996, allocations: 475.5 kB / 1.165 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.996, allocations: 3.125 kB / 1.165 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.9961, allocations: 19.83 kB / 1.165 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9961, allocations: 0 / 1.165 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.9961, allocations: 13.98 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.9961, allocations: 0 / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.9961, allocations: 2.656 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.9965, allocations: 371.2 kB / 1.165 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.9966, allocations: 20.52 kB / 1.165 GB, free: 25.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.9966, allocations: 12 kB / 1.165 GB, free: 25.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.9967, allocations: 10.31 kB / 1.165 GB, free: 25.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.9967, allocations: 16.55 kB / 1.165 GB, free: 25.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.9967, allocations: 5.688 kB / 1.165 GB, free: 25.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001209/0.9969, allocations: 172.6 kB / 1.165 GB, free: 25.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9969, allocations: 0 / 1.165 GB, free: 25.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003586/0.9972, allocations: 78.61 kB / 1.165 GB, free: 25.75 MB / 1.076 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.0001436/0.9974, allocations: 115.2 kB / 1.166 GB, free: 25.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006158/0.998, allocations: 0.629 MB / 1.166 GB, free: 25.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.998, allocations: 0 / 1.166 GB, free: 25.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.9981, allocations: 73.88 kB / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.9986, allocations: 72.59 kB / 1.166 GB, free: 25.11 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.9992, allocations: 418.7 kB / 1.167 GB, free: 24.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.9993, allocations: 139.6 kB / 1.167 GB, free: 24.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.529e-05/0.9994, allocations: 28.48 kB / 1.167 GB, free: 24.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.9995, allocations: 21.62 kB / 1.167 GB, free: 24.74 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/0.9995, allocations: 0 / 1.167 GB, free: 24.74 MB / 1.076 GB Notification: Performance of Templates: time 0.009929/1.009, allocations: 5.294 MB / 1.172 GB, free: 24.14 MB / 1.076 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 -s ida -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.178495227941312]