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.002095/0.002095, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001972/0.001972, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.632/1.632, allocations: 177.1 MB / 203.9 MB, free: 5.301 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.012/3.012, allocations: 377.9 MB / 0.6232 GB, free: 8.551 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.134e-06/2.134e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.526e-05, allocations: 7.219 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002882/0.002918, allocations: 1.183 MB / 0.812 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.005385, allocations: 1.508 MB / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.005502, allocations: 4 kB / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.487e-05/0.005566, allocations: 24.73 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.005764, allocations: 59.52 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.006827, allocations: 449.4 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.007587, allocations: 0.5326 MB / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.007776, allocations: 64.05 kB / 0.8146 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.008169, allocations: 287.5 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.008457, allocations: 155.5 kB / 0.815 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/0.008554, allocations: 52.5 kB / 0.815 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.008698, allocations: 67.98 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.00877, allocations: 61.23 kB / 0.8152 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.008981, allocations: 151.7 kB / 0.8153 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007906/0.009772, allocations: 0.6233 MB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.009775, allocations: 0 / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.823e-06/0.009777, allocations: 1.344 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.009786, allocations: 0 / 0.8159 GB, free: 12.9 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.001156/0.01094, allocations: 0.7591 MB / 0.8166 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.01098, allocations: 9.438 kB / 0.8167 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.01113, allocations: 52.75 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.01158, allocations: 247.8 kB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.01161, allocations: 21.56 kB / 0.817 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.01169, allocations: 32.36 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.01197, allocations: 143.5 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.01201, allocations: 4.141 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.01203, allocations: 4.906 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.01204, allocations: 12.41 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.01224, allocations: 92.77 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01341, allocations: 0.6677 MB / 0.8179 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.01378, allocations: 131.8 kB / 0.818 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.01389, allocations: 57.05 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.0139, allocations: 4 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.01421, allocations: 166 kB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.01421, allocations: 0 / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0005939/0.0148, allocations: 275.6 kB / 0.8185 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.01486, allocations: 60.17 kB / 0.8186 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.01535, allocations: 340.2 kB / 0.8189 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.01541, allocations: 38.3 kB / 0.8189 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.01561, allocations: 211.2 kB / 0.8191 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.01568, allocations: 64.28 kB / 0.8192 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.01592, allocations: 115.5 kB / 0.8193 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003117/0.01624, allocations: 0.5207 MB / 0.8198 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.01676, allocations: 315 kB / 0.8201 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.01736, allocations: 436.5 kB / 0.8205 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.01799, allocations: 450.1 kB / 0.8209 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.018, allocations: 4 kB / 0.8209 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001325/0.01933, allocations: 0.7919 MB / 0.8217 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.01946, allocations: 130.8 kB / 0.8218 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01947, allocations: 7.938 kB / 0.8219 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.01949, allocations: 4 kB / 0.8219 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.0196, allocations: 31.92 kB / 0.8219 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.01961, allocations: 4 kB / 0.8219 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.02016, allocations: 94.14 kB / 0.822 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.02023, allocations: 31.97 kB / 0.822 GB, free: 6.191 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.0002213/0.02045, allocations: 197 kB / 0.8222 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.0205, allocations: 36.84 kB / 0.8222 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.02056, allocations: 26.27 kB / 0.8223 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.02056, allocations: 0.8438 kB / 0.8223 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.02057, allocations: 0 / 0.8223 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.02058, allocations: 3.984 kB / 0.8223 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.02134, allocations: 0.5546 MB / 0.8228 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.02134, allocations: 2.344 kB / 0.8228 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.617e-05/0.02144, allocations: 15.98 kB / 0.8228 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.02144, allocations: 0 / 0.8228 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.02146, allocations: 8 kB / 0.8228 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.02147, allocations: 0 / 0.8228 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02147, allocations: 0 / 0.8228 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.02211, allocations: 448.7 kB / 0.8233 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.02214, allocations: 18.89 kB / 0.8233 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.02218, allocations: 11.98 kB / 0.8233 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.02226, allocations: 4 kB / 0.8233 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.02232, allocations: 23.91 kB / 0.8233 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.02234, allocations: 4 kB / 0.8233 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002204/0.02256, allocations: 221.1 kB / 0.8235 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02256, allocations: 0 / 0.8235 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003824/0.02294, allocations: 87.88 kB / 0.8236 GB, free: 4.492 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.0002042/0.02315, allocations: 122.5 kB / 0.8237 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.02418, allocations: 0.7261 MB / 0.8244 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02419, allocations: 1.031 kB / 0.8244 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.02434, allocations: 95.52 kB / 0.8245 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.02489, allocations: 75.78 kB / 0.8246 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.02578, allocations: 421.6 kB / 0.825 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.02596, allocations: 145.6 kB / 0.8251 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.007e-05/0.02605, allocations: 22.2 kB / 0.8252 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.02611, allocations: 24.5 kB / 0.8252 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.02611, allocations: 0 / 0.8252 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.01158/0.03769, allocations: 5.265 MB / 0.8303 GB, free: 13.67 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] 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.379093487979844]