Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.0008196/0.0008196, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002129, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00084/0.00084, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001842, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9836/0.9836, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09121/1.075, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.87/1.87, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5479/2.418, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 4 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.642e-05, allocations: 4.984 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001706/0.001732, allocations: 1.088 MB / 0.7304 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.002909, allocations: 1.288 MB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.003004, allocations: 4 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.684e-05/0.003081, allocations: 20.72 kB / 0.7317 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.003135, allocations: 29.53 kB / 0.7317 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.003446, allocations: 181.9 kB / 0.7319 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.003674, allocations: 254 kB / 0.7321 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.003804, allocations: 74.17 kB / 0.7322 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.003946, allocations: 155.7 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.00406, allocations: 75.75 kB / 0.7324 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.00409, allocations: 24.5 kB / 0.7324 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.00417, allocations: 45.28 kB / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.004205, allocations: 27.92 kB / 0.7325 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.004259, allocations: 55.88 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.004466, allocations: 151.5 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.584e-05/0.004481, allocations: 4.562 kB / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004482, allocations: 0 / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.004499, allocations: 1.719 kB / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005784/0.005078, allocations: 445.3 kB / 0.7331 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.005109, allocations: 12.03 kB / 0.7331 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.005163, allocations: 33.72 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.005356, allocations: 168.2 kB / 0.7333 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.005376, allocations: 12.38 kB / 0.7333 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.005395, allocations: 20.38 kB / 0.7333 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.005532, allocations: 142 kB / 0.7335 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.00554, allocations: 192 / 0.7335 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.00555, allocations: 8.875 kB / 0.7335 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.005557, allocations: 5.469 kB / 0.7335 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.005605, allocations: 33.11 kB / 0.7335 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.006036, allocations: 336.2 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.006182, allocations: 59.66 kB / 0.7339 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.006207, allocations: 20.84 kB / 0.7339 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.006215, allocations: 0.7188 kB / 0.7339 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.006335, allocations: 113.6 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.006337, allocations: 0 / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001353/0.006472, allocations: 82.59 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.006505, allocations: 55.41 kB / 0.7342 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.006589, allocations: 158.2 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.006609, allocations: 33.7 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.006667, allocations: 137.1 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.00669, allocations: 35.72 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.006739, allocations: 38.94 kB / 0.7346 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.006823, allocations: 326.8 kB / 0.7349 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.006878, allocations: 57.69 kB / 0.7349 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.006935, allocations: 85.03 kB / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.573e-05/0.007011, allocations: 101.5 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007013, allocations: 0 / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001539/0.007167, allocations: 189.5 kB / 0.7353 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.007202, allocations: 33.7 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007206, allocations: 1.5 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.007216, allocations: 3.984 kB / 0.7353 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.007305, allocations: 20 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.007309, allocations: 4 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.007396, allocations: 32.73 kB / 0.7354 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.007408, allocations: 4.875 kB / 0.7354 GB, free: 14.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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 7.199e-05/0.00748, allocations: 130.3 kB / 0.7355 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.007493, allocations: 11.92 kB / 0.7355 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.00752, allocations: 16.78 kB / 0.7355 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007522, allocations: 1.156 kB / 0.7355 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.007524, allocations: 4 kB / 0.7355 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.007528, allocations: 3.984 kB / 0.7355 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.02e-05/0.007618, allocations: 107.1 kB / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00762, allocations: 0 / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.007661, allocations: 15.98 kB / 0.7357 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.007672, allocations: 11.91 kB / 0.7357 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.007675, allocations: 4.969 kB / 0.7357 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.00768, allocations: 0 / 0.7357 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.007682, allocations: 8.516 kB / 0.7357 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007684, allocations: 0 / 0.7357 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.18e-05/0.007775, allocations: 106.6 kB / 0.7358 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.00779, allocations: 0 / 0.7358 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.889e-05/0.007819, allocations: 11.94 kB / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.007855, allocations: 11.97 kB / 0.7358 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.007859, allocations: 1.219 kB / 0.7358 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.87e-05/0.007888, allocations: 43.22 kB / 0.7358 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007888, allocations: 0 / 0.7358 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001373/0.008026, allocations: 39.89 kB / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001265/0.008152, allocations: 93.69 kB / 0.736 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.008312, allocations: 173.1 kB / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.008319, allocations: 0.8125 kB / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.008357, allocations: 36.78 kB / 0.7362 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.008491, allocations: 33.28 kB / 0.7362 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.009028, allocations: 270.2 kB / 0.7365 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.019e-05/0.009069, allocations: 76.92 kB / 0.7365 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.009113, allocations: 12.75 kB / 0.7365 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.907e-05/0.009212, allocations: 87.34 kB / 0.7366 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.009213, allocations: 0 / 0.7366 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.004362/0.01358, allocations: 2.547 MB / 0.7391 GB, free: 10.41 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9611991653218865]