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.002339/0.002339, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.002727/0.002727, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.563/1.563, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.919/2.919, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.824e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002513/0.002551, allocations: 1.136 MB / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.004766, allocations: 1.513 MB / 0.984 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.984e-05/0.004865, allocations: 0 / 0.984 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.506e-05/0.004931, allocations: 23.67 kB / 0.9841 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.00511, allocations: 67.5 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.006247, allocations: 463.2 kB / 0.9846 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006341/0.006881, allocations: 0.5263 MB / 0.9851 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.007084, allocations: 68.05 kB / 0.9851 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.007455, allocations: 299.5 kB / 0.9854 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.007721, allocations: 147.5 kB / 0.9856 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.924e-05/0.007821, allocations: 63.92 kB / 0.9856 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.00795, allocations: 64 kB / 0.9857 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.008013, allocations: 51.77 kB / 0.9857 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.008236, allocations: 155.7 kB / 0.9859 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007397/0.008976, allocations: 0.6233 MB / 0.9865 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.008979, allocations: 0 / 0.9865 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.02e-07/0.00898, allocations: 0 / 0.9865 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.008988, allocations: 4 kB / 0.9865 GB, free: 6.746 MB / 0.9356 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.001007/0.009995, allocations: 0.6255 MB / 0.9871 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.01004, allocations: 8.031 kB / 0.9871 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01016, allocations: 40.75 kB / 0.9872 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.0106, allocations: 245 kB / 0.9874 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.01063, allocations: 24.36 kB / 0.9874 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.01072, allocations: 32.36 kB / 0.9874 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.01101, allocations: 142 kB / 0.9876 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01102, allocations: 192 / 0.9876 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.01105, allocations: 12.36 kB / 0.9876 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.01106, allocations: 7.938 kB / 0.9876 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.01124, allocations: 80.86 kB / 0.9877 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01227, allocations: 0.574 MB / 0.9882 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.01263, allocations: 118.8 kB / 0.9884 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01274, allocations: 48.84 kB / 0.9884 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.01275, allocations: 3.938 kB / 0.9884 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003331/0.01309, allocations: 164.9 kB / 0.9886 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.883e-06/0.01309, allocations: 4 kB / 0.9886 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0005569/0.01364, allocations: 263.6 kB / 0.9888 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.0137, allocations: 59.39 kB / 0.9889 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.01398, allocations: 241.7 kB / 0.9891 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.01405, allocations: 37.7 kB / 0.9891 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.01421, allocations: 156.5 kB / 0.9893 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.01427, allocations: 55.58 kB / 0.9893 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.01447, allocations: 101.8 kB / 0.9894 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.01464, allocations: 334.8 kB / 0.9898 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.01506, allocations: 279 kB / 0.99 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.01554, allocations: 362.1 kB / 0.9904 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.01609, allocations: 396.9 kB / 0.9907 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.0161, allocations: 0 / 0.9907 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001173/0.01727, allocations: 0.7238 MB / 0.9915 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.01739, allocations: 134.8 kB / 0.9916 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.0174, allocations: 0 / 0.9916 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.01742, allocations: 4 kB / 0.9916 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01753, allocations: 31.92 kB / 0.9916 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.01754, allocations: 4 kB / 0.9916 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.01824, allocations: 116 kB / 0.9917 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.0183, allocations: 27.97 kB / 0.9918 GB, free: 0.9453 MB / 0.9356 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.0002109/0.01851, allocations: 160.3 kB / 0.9919 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.01855, allocations: 27.8 kB / 0.9919 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.01861, allocations: 34.22 kB / 0.992 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01861, allocations: 0 / 0.992 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01862, allocations: 3.938 kB / 0.992 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01862, allocations: 7.984 kB / 0.992 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.01925, allocations: 466 kB / 0.9924 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.01926, allocations: 4 kB / 0.9924 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.01935, allocations: 19.92 kB / 0.9924 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01935, allocations: 0 / 0.9924 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.01937, allocations: 8 kB / 0.9925 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.01937, allocations: 0 / 0.9925 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01937, allocations: 4 kB / 0.9925 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.01993, allocations: 377.5 kB / 0.9928 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.01997, allocations: 23.84 kB / 0.9928 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.02, allocations: 4 kB / 0.9928 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.02009, allocations: 3.984 kB / 0.9928 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.02014, allocations: 23.91 kB / 0.9929 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.02016, allocations: 8 kB / 0.9929 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001684/0.02033, allocations: 169.2 kB / 0.993 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.02033, allocations: 0 / 0.993 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003914/0.02072, allocations: 79.94 kB / 0.9931 GB, free: 15.49 MB / 0.9512 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.0002017/0.02092, allocations: 127.2 kB / 0.9932 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008632/0.02178, allocations: 0.6174 MB / 0.9938 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.02179, allocations: 0 / 0.9938 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.02193, allocations: 75.84 kB / 0.9939 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.02246, allocations: 69.33 kB / 0.994 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.02325, allocations: 425.6 kB / 0.9944 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.0234, allocations: 142.2 kB / 0.9945 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.741e-05/0.02348, allocations: 25.95 kB / 0.9945 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.02354, allocations: 28.48 kB / 0.9946 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.02354, allocations: 0 / 0.9946 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of Templates: time 0.01141/0.03495, allocations: 5.24 MB / 0.9997 GB, free: 8.809 MB / 0.9512 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/jenkins/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: 8.628134302794933]