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.001816/0.001816, allocations: 104.3 kB / 19.7 MB, free: 2.008 MB / 14.72 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.002181/0.002181, allocations: 210.4 kB / 22.99 MB, free: 4.41 MB / 14.72 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 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.295/3.295, allocations: 0.505 GB / 0.8109 GB, free: 23.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 68.56 kB / 1.178 GB, free: 16.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3295, allocations: 180.2 MB / 1.354 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002364/0.3319, allocations: 0.965 MB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3337, allocations: 1.28 MB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.3338, allocations: 7.938 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.3339, allocations: 15.8 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.334, allocations: 31.72 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.3346, allocations: 177.1 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.3349, allocations: 220.1 kB / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.335, allocations: 64.88 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.3352, allocations: 103.6 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3354, allocations: 87.59 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.3354, allocations: 24 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.3355, allocations: 39.98 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.3356, allocations: 31.86 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.3357, allocations: 83.69 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.336, allocations: 258.9 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.336, allocations: 0 / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.336, allocations: 0 / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.336, allocations: 7.984 kB / 1.357 GB, free: 4.07 MB / 1.045 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.0007392/0.3368, allocations: 427.2 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3368, allocations: 8.031 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.337, allocations: 28.83 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3372, allocations: 172.4 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3373, allocations: 20.38 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3373, allocations: 16.38 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.3376, allocations: 137.5 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3376, allocations: 0 / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3376, allocations: 8 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3376, allocations: 0 / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.3378, allocations: 91.89 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.3385, allocations: 400 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.3388, allocations: 106.6 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.3389, allocations: 40.84 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3389, allocations: 0 / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3391, allocations: 103.2 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.3391, allocations: 0 / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003875/0.3395, allocations: 149.7 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3396, allocations: 59.34 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3397, allocations: 156.9 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.3398, allocations: 33.7 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.3399, allocations: 128.3 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.3399, allocations: 27.8 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.34, allocations: 41.7 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3402, allocations: 330.8 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3403, allocations: 81.67 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.3405, allocations: 146.7 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.3408, allocations: 138.6 kB / 1.36 GB, free: 1.062 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3408, allocations: 0 / 1.36 GB, free: 1.062 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000435/0.3412, allocations: 244.9 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.3412, allocations: 37.7 kB / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3412, allocations: 0 / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3413, allocations: 4 kB / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.3414, allocations: 15.98 kB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3414, allocations: 3.938 kB / 1.36 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3416, allocations: 39.97 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.3416, allocations: 12 kB / 1.36 GB, free: 0.6875 MB / 1.045 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 0.0001334/0.3417, allocations: 137.7 kB / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.3418, allocations: 7.953 kB / 1.361 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.3418, allocations: 16.7 kB / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3418, allocations: 4 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3418, allocations: 0 / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3418, allocations: 0 / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.342, allocations: 173.1 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.342, allocations: 0 / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.3421, allocations: 15.98 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3421, allocations: 0 / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3421, allocations: 0 / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.3421, allocations: 11.94 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3421, allocations: 0 / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.3424, allocations: 148.9 kB / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.3424, allocations: 11.89 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3424, allocations: 8 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.3425, allocations: 11.98 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.3425, allocations: 11.97 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3426, allocations: 8 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of sorting global known variables: time 9.879e-05/0.3427, allocations: 111.2 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3427, allocations: 0 / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000239/0.3429, allocations: 39.89 kB / 1.361 GB, free: 15.93 MB / 1.061 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.0001726/0.3431, allocations: 107.2 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.3434, allocations: 200.9 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3434, allocations: 0 / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3435, allocations: 51.91 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3438, allocations: 29 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.3444, allocations: 306.6 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.731e-05/0.3445, allocations: 110.9 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.3445, allocations: 11.44 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3445, allocations: 0 / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of Templates: time 0.004105/0.3486, allocations: 2.009 MB / 1.364 GB, free: 13.06 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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: 11.33565640100278]