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.00207/0.00207, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002683/0.002683, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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 3.245/3.245, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 3.266e-06/3.266e-06, allocations: 0 / 0.8776 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.92e-05/5.247e-05, allocations: 7.625 kB / 0.8776 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.003083/0.003135, allocations: 1.133 MB / 0.8787 GB, free: 4.23 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.006079, allocations: 1.521 MB / 0.8802 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.006314, allocations: 0.9375 kB / 0.8802 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.006419, allocations: 23.67 kB / 0.8802 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.006719, allocations: 56.61 kB / 0.8803 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.008158, allocations: 449.2 kB / 0.8807 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.009196, allocations: 0.5311 MB / 0.8812 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.009459, allocations: 76.55 kB / 0.8813 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.01006, allocations: 287.5 kB / 0.8816 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.01039, allocations: 156 kB / 0.8817 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.01049, allocations: 59.44 kB / 0.8818 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.01065, allocations: 67.92 kB / 0.8819 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.01073, allocations: 55.77 kB / 0.8819 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.01099, allocations: 155.7 kB / 0.8821 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0008981/0.01189, allocations: 0.6233 MB / 0.8827 GB, free: 188 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.0119, allocations: 0 / 0.8827 GB, free: 188 kB / 0.7917 GB Notification: Performance of FrontEnd: time 3.076e-06/0.0119, allocations: 0 / 0.8827 GB, free: 188 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.01191, allocations: 0 / 0.8827 GB, free: 188 kB / 0.7917 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.001516/0.01343, allocations: 0.6255 MB / 0.8833 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.01348, allocations: 8.625 kB / 0.8833 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.01365, allocations: 57.38 kB / 0.8833 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.01416, allocations: 244.9 kB / 0.8836 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.0142, allocations: 21.28 kB / 0.8836 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.01429, allocations: 28.38 kB / 0.8836 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.0146, allocations: 143.8 kB / 0.8838 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.01462, allocations: 4.188 kB / 0.8838 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.01465, allocations: 9.891 kB / 0.8838 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01466, allocations: 7.938 kB / 0.8838 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.01489, allocations: 92.34 kB / 0.8839 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.01611, allocations: 0.571 MB / 0.8844 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.0165, allocations: 115.4 kB / 0.8845 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01661, allocations: 57.02 kB / 0.8846 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.01663, allocations: 0 / 0.8846 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.01703, allocations: 169 kB / 0.8847 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.01703, allocations: 0 / 0.8847 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0006132/0.01764, allocations: 267.3 kB / 0.885 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.01771, allocations: 55.41 kB / 0.8851 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.01801, allocations: 237.7 kB / 0.8853 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.01807, allocations: 41.69 kB / 0.8853 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.01824, allocations: 152.5 kB / 0.8855 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.01831, allocations: 59.53 kB / 0.8855 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.01853, allocations: 105.9 kB / 0.8856 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.01874, allocations: 334.8 kB / 0.8859 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.01919, allocations: 283 kB / 0.8862 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.01972, allocations: 367.3 kB / 0.8866 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005895/0.02031, allocations: 400.2 kB / 0.8869 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.02032, allocations: 4 kB / 0.8869 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001328/0.02165, allocations: 0.7331 MB / 0.8877 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.02179, allocations: 134.8 kB / 0.8878 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.02181, allocations: 4 kB / 0.8878 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.02184, allocations: 8.281 kB / 0.8878 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.02195, allocations: 23.92 kB / 0.8878 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.02197, allocations: 4 kB / 0.8878 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.02265, allocations: 115.7 kB / 0.8879 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.02272, allocations: 35.97 kB / 0.888 GB, free: 10.33 MB / 0.8073 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.0002214/0.02294, allocations: 153.8 kB / 0.8881 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.02299, allocations: 31.84 kB / 0.8882 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.02307, allocations: 22.28 kB / 0.8882 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.02307, allocations: 4 kB / 0.8882 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.02308, allocations: 0 / 0.8882 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.02309, allocations: 3.984 kB / 0.8882 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000788/0.02388, allocations: 477.8 kB / 0.8886 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02388, allocations: 0 / 0.8886 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.02398, allocations: 31.98 kB / 0.8887 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.02398, allocations: 0 / 0.8887 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.024, allocations: 0 / 0.8887 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.024, allocations: 4 kB / 0.8887 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.024, allocations: 0 / 0.8887 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.02461, allocations: 388.6 kB / 0.889 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.02465, allocations: 19.89 kB / 0.8891 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.02468, allocations: 7.984 kB / 0.8891 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.02477, allocations: 0 / 0.8891 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.02483, allocations: 23.91 kB / 0.8891 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.02485, allocations: 12 kB / 0.8891 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002071/0.02506, allocations: 169.3 kB / 0.8893 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.02506, allocations: 3.938 kB / 0.8893 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004223/0.02548, allocations: 83.89 kB / 0.8893 GB, free: 8.855 MB / 0.8073 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.0003938/0.02588, allocations: 115.8 kB / 0.8895 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.02689, allocations: 0.6195 MB / 0.8901 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0269, allocations: 0.5625 kB / 0.8901 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.02705, allocations: 75.84 kB / 0.8901 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.02765, allocations: 64.72 kB / 0.8902 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009636/0.02862, allocations: 421.8 kB / 0.8906 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.02879, allocations: 138.2 kB / 0.8907 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.329e-05/0.02889, allocations: 37.86 kB / 0.8908 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.02895, allocations: 24.5 kB / 0.8908 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.02895, allocations: 0 / 0.8908 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.01155/0.0405, allocations: 5.254 MB / 0.8959 GB, free: 2.172 MB / 0.8073 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.507551873917691]