Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00134/0.00134, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002068/0.003409, allocations: 435.8 kB / 10.33 MB, free: 368 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.001467/0.001467, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001801/0.003268, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.028/1.028, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1088/1.137, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.37/2.37, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2842/2.654, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8183 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.157e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001929/0.001951, allocations: 1.044 MB / 0.8193 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.003574, allocations: 1.314 MB / 0.8206 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.003667, allocations: 4 kB / 0.8206 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.447e-05/0.003741, allocations: 27.67 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.003816, allocations: 19.8 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.004191, allocations: 171.5 kB / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.004439, allocations: 228 kB / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.004579, allocations: 66.33 kB / 0.8211 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.004828, allocations: 151.6 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.004951, allocations: 63.84 kB / 0.8213 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.00499, allocations: 27.94 kB / 0.8213 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.005082, allocations: 47.91 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.005115, allocations: 23.94 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.005176, allocations: 47.88 kB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.005391, allocations: 147.4 kB / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.005407, allocations: 0 / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005408, allocations: 0 / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.005424, allocations: 4 kB / 0.8216 GB, free: 15.56 MB / 0.8073 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.003748/0.009172, allocations: 433.5 kB / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.009206, allocations: 8.625 kB / 0.822 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.009362, allocations: 110 kB / 0.8221 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.009522, allocations: 153.3 kB / 0.8222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.009538, allocations: 12.38 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.009564, allocations: 16.38 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.009711, allocations: 110.9 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.00972, allocations: 192 / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.009733, allocations: 16.12 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.009739, allocations: 0 / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.619e-05/0.009795, allocations: 27.98 kB / 0.8224 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.01023, allocations: 299.8 kB / 0.8227 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.0104, allocations: 66.53 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.01043, allocations: 24.84 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.01046, allocations: 0 / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.01059, allocations: 87.36 kB / 0.8229 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.01059, allocations: 0 / 0.8229 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.000138/0.01073, allocations: 85.59 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.01076, allocations: 51.41 kB / 0.823 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.01084, allocations: 157.6 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.01086, allocations: 33.7 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.01091, allocations: 120.4 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.01093, allocations: 35.67 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.01098, allocations: 41.67 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.01105, allocations: 322.8 kB / 0.8237 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.0111, allocations: 65.69 kB / 0.8237 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.01117, allocations: 113.4 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.01125, allocations: 100.2 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01125, allocations: 0 / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001313/0.01139, allocations: 169 kB / 0.8241 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.01142, allocations: 41.64 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01143, allocations: 3.984 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.01144, allocations: 4 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.01152, allocations: 16.09 kB / 0.8242 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01153, allocations: 0 / 0.8242 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.01161, allocations: 31.92 kB / 0.8242 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.01162, allocations: 4 kB / 0.8242 GB, free: 12.61 MB / 0.8073 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 7.099e-05/0.01169, allocations: 121.8 kB / 0.8243 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.01171, allocations: 15.94 kB / 0.8243 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.01174, allocations: 16.77 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01174, allocations: 3.938 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.01174, allocations: 4 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01174, allocations: 0 / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.814e-05/0.01183, allocations: 105.8 kB / 0.8244 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.01183, allocations: 0 / 0.8244 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.01187, allocations: 15.98 kB / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.01188, allocations: 7.953 kB / 0.8245 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01188, allocations: 0 / 0.8245 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.01189, allocations: 11.94 kB / 0.8245 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01189, allocations: 3.984 kB / 0.8245 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01189, allocations: 0 / 0.8245 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.827e-05/0.01198, allocations: 97.02 kB / 0.8246 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.012, allocations: 8 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.01203, allocations: 11.92 kB / 0.8246 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.01206, allocations: 11.98 kB / 0.8246 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.01207, allocations: 7.984 kB / 0.8246 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.01209, allocations: 30.45 kB / 0.8246 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01209, allocations: 0 / 0.8246 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001233/0.01222, allocations: 39.89 kB / 0.8247 GB, free: 12.06 MB / 0.8073 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 9.21e-05/0.01231, allocations: 92.34 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.01246, allocations: 168.2 kB / 0.8249 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.01247, allocations: 4 kB / 0.8249 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.01251, allocations: 32.77 kB / 0.825 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.01263, allocations: 37.08 kB / 0.825 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.01336, allocations: 269 kB / 0.8253 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.0134, allocations: 82.97 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.01344, allocations: 16.91 kB / 0.8254 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.01353, allocations: 75.36 kB / 0.8254 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.01353, allocations: 0 / 0.8254 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.003974/0.01751, allocations: 2.443 MB / 0.8278 GB, free: 8.832 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller/Buildings_latest_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.455239261500537]