Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001937/0.001937, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.003248/0.003248, allocations: 166.1 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.49/1.49, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.906/2.906, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.679e-06, allocations: 4 kB / 1 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/3.218e-05, allocations: 2.281 kB / 1 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.00261/0.002642, allocations: 1.131 MB / 1.001 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.004986, allocations: 1.501 MB / 1.003 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.005109, allocations: 4 kB / 1.003 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.472e-05/0.005174, allocations: 15.75 kB / 1.003 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.005375, allocations: 67.44 kB / 1.003 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.006571, allocations: 471.4 kB / 1.003 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006533/0.007224, allocations: 0.5341 MB / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.007415, allocations: 71.98 kB / 1.004 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.007792, allocations: 291.5 kB / 1.004 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.008081, allocations: 147.6 kB / 1.004 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.616e-05/0.008177, allocations: 52 kB / 1.004 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.008356, allocations: 67.98 kB / 1.004 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.008428, allocations: 59.77 kB / 1.004 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.00865, allocations: 147.7 kB / 1.005 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008439/0.009494, allocations: 0.6272 MB / 1.005 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.009498, allocations: 0 / 1.005 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.462e-06/0.009499, allocations: 0 / 1.005 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.009507, allocations: 0 / 1.005 GB, free: 1.02 MB / 0.9044 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.001146/0.01065, allocations: 0.6255 MB / 1.006 GB, free: 344 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.0107, allocations: 12.03 kB / 1.006 GB, free: 332 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.01082, allocations: 40.75 kB / 1.006 GB, free: 292 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.01127, allocations: 249 kB / 1.006 GB, free: 20 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.01135, allocations: 16.38 kB / 1.006 GB, free: 4 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.01144, allocations: 32.45 kB / 1.006 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.01175, allocations: 150.6 kB / 1.006 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.01177, allocations: 4.141 kB / 1.006 GB, free: 15.81 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.01179, allocations: 4.375 kB / 1.006 GB, free: 15.81 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.0118, allocations: 11.88 kB / 1.006 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.012, allocations: 92.55 kB / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.01307, allocations: 0.5659 MB / 1.007 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.01346, allocations: 110.7 kB / 1.007 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.01357, allocations: 60.95 kB / 1.007 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.01358, allocations: 0 / 1.007 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.01396, allocations: 164.8 kB / 1.007 GB, free: 14.76 MB / 0.92 GB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.01396, allocations: 0 / 1.007 GB, free: 14.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=22): time 0.0005728/0.01454, allocations: 259.3 kB / 1.007 GB, free: 14.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.01459, allocations: 59.41 kB / 1.008 GB, free: 14.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.01487, allocations: 237.7 kB / 1.008 GB, free: 14.19 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.01495, allocations: 45.69 kB / 1.008 GB, free: 14.14 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.01511, allocations: 164.4 kB / 1.008 GB, free: 13.97 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.01518, allocations: 59.53 kB / 1.008 GB, free: 13.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.01538, allocations: 93.89 kB / 1.008 GB, free: 13.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.0156, allocations: 342.8 kB / 1.008 GB, free: 13.47 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.01604, allocations: 279 kB / 1.009 GB, free: 13.17 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.01654, allocations: 358.3 kB / 1.009 GB, free: 12.76 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.01709, allocations: 400 kB / 1.009 GB, free: 12.31 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.0171, allocations: 0 / 1.009 GB, free: 12.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001231/0.01833, allocations: 0.7177 MB / 1.01 GB, free: 11.54 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.01846, allocations: 138.8 kB / 1.01 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.01847, allocations: 4 kB / 1.01 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.0185, allocations: 4 kB / 1.01 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.0186, allocations: 27.86 kB / 1.01 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.01861, allocations: 4 kB / 1.01 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/0.0193, allocations: 123.7 kB / 1.01 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.01936, allocations: 31.97 kB / 1.01 GB, free: 11.19 MB / 0.92 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.0002325/0.0196, allocations: 150.2 kB / 1.011 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.01964, allocations: 23.86 kB / 1.011 GB, free: 11.01 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.0197, allocations: 26.27 kB / 1.011 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.0197, allocations: 4 kB / 1.011 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.01971, allocations: 0 / 1.011 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01971, allocations: 4.094 kB / 1.011 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.02042, allocations: 481.9 kB / 1.011 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02042, allocations: 0 / 1.011 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.02053, allocations: 16 kB / 1.011 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.02053, allocations: 4 kB / 1.011 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.02055, allocations: 3.984 kB / 1.011 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.02055, allocations: 4 kB / 1.011 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02056, allocations: 0 / 1.011 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.02108, allocations: 377.7 kB / 1.012 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.02112, allocations: 27.88 kB / 1.012 GB, free: 10.03 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.02116, allocations: 0 / 1.012 GB, free: 10.03 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.02124, allocations: 12.06 kB / 1.012 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.02131, allocations: 19.91 kB / 1.012 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.02134, allocations: 15.92 kB / 1.012 GB, free: 9.984 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001835/0.02153, allocations: 165.2 kB / 1.012 GB, free: 9.824 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.02153, allocations: 0 / 1.012 GB, free: 9.824 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004548/0.02198, allocations: 83.88 kB / 1.012 GB, free: 9.742 MB / 0.92 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.0002099/0.02219, allocations: 122 kB / 1.012 GB, free: 9.613 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008816/0.02307, allocations: 0.6213 MB / 1.013 GB, free: 8.918 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02307, allocations: 0 / 1.013 GB, free: 8.918 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.02322, allocations: 79.84 kB / 1.013 GB, free: 8.84 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.02376, allocations: 60.95 kB / 1.013 GB, free: 8.781 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008375/0.0246, allocations: 412.8 kB / 1.013 GB, free: 8.352 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.02474, allocations: 138.5 kB / 1.013 GB, free: 8.199 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.115e-05/0.02482, allocations: 25.89 kB / 1.013 GB, free: 8.172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.02487, allocations: 20.5 kB / 1.013 GB, free: 8.152 MB / 0.92 GB Notification: Performance of SimCode: time 3.8e-07/0.02487, allocations: 0 / 1.013 GB, free: 8.152 MB / 0.92 GB Notification: Performance of Templates: time 0.01146/0.03633, allocations: 5.245 MB / 1.018 GB, free: 3.066 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.467218700796366]