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.001433/0.001433, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001607/0.001607, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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 3.008/3.008, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 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 2.344e-06/2.344e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.292e-05, allocations: 8.5 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002898/0.002931, allocations: 1.145 MB / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.005446, allocations: 1.5 MB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.005583, allocations: 4.562 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.882e-05/0.005662, allocations: 23.67 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.005874, allocations: 61.09 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.00706, allocations: 449.7 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000814/0.007874, allocations: 0.5263 MB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.008097, allocations: 77.5 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005529/0.00865, allocations: 295.5 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.008994, allocations: 147.6 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.009128, allocations: 52 kB / 0.815 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.009292, allocations: 73.5 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.00936, allocations: 51.77 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.009594, allocations: 155.7 kB / 0.8153 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008737/0.01047, allocations: 0.6194 MB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01047, allocations: 5.312 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01047, allocations: 0 / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.01049, allocations: 0 / 0.8159 GB, free: 12.91 MB / 0.7761 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.00122/0.01171, allocations: 0.6144 MB / 0.8165 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.01175, allocations: 13.25 kB / 0.8165 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.0119, allocations: 52.73 kB / 0.8165 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.01239, allocations: 245 kB / 0.8168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.01243, allocations: 28.88 kB / 0.8168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.01252, allocations: 28.38 kB / 0.8168 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.01282, allocations: 149.5 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01284, allocations: 192 / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.01286, allocations: 8.375 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.01287, allocations: 3.938 kB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.01308, allocations: 91.89 kB / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.01426, allocations: 0.5804 MB / 0.8176 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.01466, allocations: 118.6 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.01477, allocations: 45.03 kB / 0.8178 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.01479, allocations: 8.609 kB / 0.8178 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.01516, allocations: 168.1 kB / 0.818 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.01516, allocations: 0 / 0.818 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0006233/0.01579, allocations: 267.7 kB / 0.8182 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.01586, allocations: 60.16 kB / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.01616, allocations: 233.7 kB / 0.8185 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.01623, allocations: 42.34 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.0164, allocations: 161.7 kB / 0.8187 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.01647, allocations: 59.53 kB / 0.8187 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004791/0.01695, allocations: 93.89 kB / 0.8188 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.01716, allocations: 338.8 kB / 0.8192 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.01761, allocations: 284.7 kB / 0.8194 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.01817, allocations: 362.7 kB / 0.8198 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.0188, allocations: 403.7 kB / 0.8202 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.0188, allocations: 0 / 0.8202 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001312/0.02011, allocations: 0.7364 MB / 0.8209 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.02025, allocations: 134.8 kB / 0.821 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.02025, allocations: 4 kB / 0.821 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.02028, allocations: 4 kB / 0.821 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.02039, allocations: 27.92 kB / 0.821 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.0204, allocations: 4 kB / 0.821 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.02109, allocations: 119.4 kB / 0.8212 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.02117, allocations: 31.97 kB / 0.8212 GB, free: 7.066 MB / 0.7761 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.0002146/0.02138, allocations: 151 kB / 0.8213 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.02144, allocations: 36.66 kB / 0.8214 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.02149, allocations: 22.28 kB / 0.8214 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.0215, allocations: 4.938 kB / 0.8214 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.02151, allocations: 0 / 0.8214 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.02151, allocations: 3.984 kB / 0.8214 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.0222, allocations: 481.6 kB / 0.8219 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.02221, allocations: 0 / 0.8219 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.0223, allocations: 15.98 kB / 0.8219 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.0223, allocations: 1.188 kB / 0.8219 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.02232, allocations: 8 kB / 0.8219 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.02233, allocations: 3.938 kB / 0.8219 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02233, allocations: 0 / 0.8219 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.02293, allocations: 387.1 kB / 0.8223 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.02297, allocations: 23.89 kB / 0.8223 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.02301, allocations: 12.08 kB / 0.8223 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.0231, allocations: 4 kB / 0.8223 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.02316, allocations: 23.89 kB / 0.8223 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.02318, allocations: 12 kB / 0.8223 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001896/0.02337, allocations: 165.2 kB / 0.8225 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02337, allocations: 4 kB / 0.8225 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004052/0.02377, allocations: 79.89 kB / 0.8226 GB, free: 5.605 MB / 0.7761 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.0002033/0.02397, allocations: 121.4 kB / 0.8227 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009619/0.02494, allocations: 0.6155 MB / 0.8233 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.02494, allocations: 7.938 kB / 0.8233 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.02508, allocations: 74.47 kB / 0.8234 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.02563, allocations: 71.55 kB / 0.8234 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.02676, allocations: 418.1 kB / 0.8238 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.02693, allocations: 141.8 kB / 0.824 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.954e-05/0.02702, allocations: 26.59 kB / 0.824 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.02707, allocations: 24.5 kB / 0.824 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.02708, allocations: 0 / 0.824 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of Templates: time 0.01128/0.03836, allocations: 5.266 MB / 0.8292 GB, free: 14.93 MB / 0.7917 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.224903500056826]