Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.0008827/0.0008827, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.002003, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007256/0.0007256, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008951/0.001621, 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.979/0.979, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1043/1.083, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.901/1.901, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5234/2.424, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.327e-05, allocations: 2.875 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002742/0.002765, allocations: 1.043 MB / 0.7303 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.004674, allocations: 1.317 MB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.004813, allocations: 4 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.396e-05/0.004907, allocations: 20.56 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.005003, allocations: 23.72 kB / 0.7316 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.005476, allocations: 180.9 kB / 0.7318 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.005776, allocations: 216.4 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.005939, allocations: 70.25 kB / 0.7321 GB, free: 1.715 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.006234, allocations: 148.3 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.00638, allocations: 72.7 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.006421, allocations: 24 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.006535, allocations: 43.92 kB / 0.7324 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.006574, allocations: 24.44 kB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.006652, allocations: 48.75 kB / 0.7324 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.006962, allocations: 143.5 kB / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.539e-05/0.006987, allocations: 0 / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.006989, allocations: 1.438 kB / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.007012, allocations: 0 / 0.7326 GB, free: 1.223 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008114/0.007823, allocations: 430.1 kB / 0.733 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.007861, allocations: 8.031 kB / 0.733 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.008059, allocations: 110.7 kB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.008288, allocations: 151.8 kB / 0.7332 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.008318, allocations: 16.36 kB / 0.7333 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.008346, allocations: 16.38 kB / 0.7333 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.00855, allocations: 111.9 kB / 0.7334 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.008563, allocations: 4.125 kB / 0.7334 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.008582, allocations: 13.19 kB / 0.7334 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.008595, allocations: 0 / 0.7334 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.008666, allocations: 31.97 kB / 0.7334 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.009304, allocations: 297 kB / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.009564, allocations: 71.88 kB / 0.7338 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.009612, allocations: 20.86 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.009649, allocations: 0.8125 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.009859, allocations: 83.28 kB / 0.7339 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 3.677e-06/0.009863, allocations: 0.625 kB / 0.7339 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002654/0.01013, allocations: 91.53 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.01019, allocations: 51.41 kB / 0.734 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01034, allocations: 157 kB / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.01038, allocations: 33.7 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.01047, allocations: 116.4 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.01052, allocations: 36.75 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/0.0106, allocations: 41.67 kB / 0.7344 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01075, allocations: 326.8 kB / 0.7347 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.01085, allocations: 58.19 kB / 0.7348 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.01097, allocations: 114.3 kB / 0.7349 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.01111, allocations: 104.7 kB / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01112, allocations: 0 / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002366/0.01135, allocations: 169.5 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.01141, allocations: 46.66 kB / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01142, allocations: 0 / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01143, allocations: 4 kB / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.01154, allocations: 24.55 kB / 0.7352 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01154, allocations: 5.766 kB / 0.7352 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01167, allocations: 31.92 kB / 0.7352 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.01169, allocations: 4 kB / 0.7352 GB, free: 14.28 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: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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 9.61e-05/0.01178, allocations: 115.1 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.01181, allocations: 19.92 kB / 0.7354 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.01185, allocations: 8.781 kB / 0.7354 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01185, allocations: 6 kB / 0.7354 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01185, allocations: 0 / 0.7354 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01186, allocations: 3.984 kB / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.01199, allocations: 109.8 kB / 0.7355 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.012, allocations: 0 / 0.7355 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.01207, allocations: 20.67 kB / 0.7355 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.01209, allocations: 11.91 kB / 0.7355 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01209, allocations: 0.7188 kB / 0.7355 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.0121, allocations: 11.94 kB / 0.7355 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.0121, allocations: 0.75 kB / 0.7355 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.0121, allocations: 0 / 0.7355 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.01224, allocations: 95.33 kB / 0.7356 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.01227, allocations: 4 kB / 0.7356 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.01232, allocations: 11.88 kB / 0.7356 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.01237, allocations: 15.97 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01238, allocations: 7.938 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.01242, allocations: 36.44 kB / 0.7357 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.01242, allocations: 0 / 0.7357 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002173/0.01264, allocations: 35.94 kB / 0.7357 GB, free: 13.73 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: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.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.0001634/0.0128, allocations: 85.7 kB / 0.7358 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.01303, allocations: 162.3 kB / 0.736 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.01304, allocations: 4.875 kB / 0.736 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.998e-05/0.01309, allocations: 24.84 kB / 0.736 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01328, allocations: 47.78 kB / 0.736 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.01446, allocations: 283.4 kB / 0.7363 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.01451, allocations: 71.33 kB / 0.7364 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.515e-05/0.01456, allocations: 8.984 kB / 0.7364 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.0147, allocations: 81.19 kB / 0.7365 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/0.0147, allocations: 0 / 0.7365 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.00605/0.02075, allocations: 2.43 MB / 0.7388 GB, free: 10.62 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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: 5.045307048596442]