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.001629/0.001629, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002399/0.002399, allocations: 159.1 kB / 23.01 MB, free: 4.602 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.542/1.542, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.854/2.854, allocations: 377.9 MB / 0.6228 GB, free: 12.72 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002579/0.002579, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9978/1, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002083/1.002, allocations: 0.9679 MB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001365/1.004, allocations: 1.278 MB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/1.004, allocations: 2.312 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/1.004, allocations: 19.08 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/1.004, allocations: 25.53 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/1.005, allocations: 178.4 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/1.005, allocations: 224.5 kB / 1.157 GB, free: 31.56 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/1.005, allocations: 64.28 kB / 1.157 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/1.005, allocations: 102 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/1.005, allocations: 71.97 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/1.005, allocations: 23.03 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/1.005, allocations: 44.91 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/1.005, allocations: 44.38 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/1.005, allocations: 69.22 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/1.006, allocations: 269.9 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.006, allocations: 0 / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.134e-06/1.006, allocations: 3.141 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.481e-05/1.006, allocations: 0 / 1.157 GB, free: 31.25 MB / 1.076 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.0006182/1.006, allocations: 421.8 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/1.006, allocations: 8.781 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/1.007, allocations: 32.25 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/1.007, allocations: 163.7 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/1.007, allocations: 15.55 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/1.007, allocations: 21.34 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/1.007, allocations: 141.7 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.007, allocations: 0 / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/1.007, allocations: 4 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/1.007, allocations: 3.031 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/1.007, allocations: 85.7 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/1.008, allocations: 411.2 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/1.008, allocations: 104.2 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/1.008, allocations: 42.58 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/1.008, allocations: 4 kB / 1.159 GB, free: 30.22 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/1.008, allocations: 97.53 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/1.008, allocations: 0 / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0003436/1.009, allocations: 145.6 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.009, allocations: 58.73 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/1.009, allocations: 161.2 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/1.009, allocations: 32.33 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/1.009, allocations: 125.7 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/1.009, allocations: 37.97 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/1.009, allocations: 42.77 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/1.009, allocations: 325 kB / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/1.009, allocations: 80.78 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/1.009, allocations: 153 kB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/1.009, allocations: 132.5 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.009, allocations: 0 / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003461/1.01, allocations: 242.7 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.01, allocations: 36.78 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.01, allocations: 0 / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.01, allocations: 2.719 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/1.01, allocations: 18.12 kB / 1.16 GB, free: 28.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.01, allocations: 3.031 kB / 1.16 GB, free: 28.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/1.01, allocations: 38.14 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/1.01, allocations: 8.859 kB / 1.16 GB, free: 28.91 MB / 1.076 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.995e-05/1.01, allocations: 133.5 kB / 1.16 GB, free: 28.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/1.01, allocations: 10.84 kB / 1.16 GB, free: 28.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/1.01, allocations: 18.95 kB / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/1.01, allocations: 2.812 kB / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.01, allocations: 0 / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.01, allocations: 7.938 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/1.01, allocations: 165.2 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.01, allocations: 2.875 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/1.011, allocations: 16.36 kB / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.011, allocations: 2.812 kB / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/1.011, allocations: 0 / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.011, allocations: 0 / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.011, allocations: 0 / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/1.011, allocations: 154.1 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/1.011, allocations: 6.703 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/1.011, allocations: 14.27 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/1.011, allocations: 2.844 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/1.011, allocations: 20.09 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/1.011, allocations: 6.906 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.514e-05/1.011, allocations: 120.3 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.011, allocations: 0 / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002375/1.011, allocations: 38.08 kB / 1.161 GB, free: 28.38 MB / 1.076 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.0001141/1.011, allocations: 101.1 kB / 1.161 GB, free: 28.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003042/1.012, allocations: 209.3 kB / 1.161 GB, free: 28.15 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.012, allocations: 3.938 kB / 1.161 GB, free: 28.15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/1.012, allocations: 44.36 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/1.012, allocations: 33.19 kB / 1.161 GB, free: 28.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/1.012, allocations: 279.5 kB / 1.162 GB, free: 27.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.178e-05/1.012, allocations: 104.8 kB / 1.162 GB, free: 27.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.946e-05/1.013, allocations: 9.922 kB / 1.162 GB, free: 27.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/1.013, allocations: 17.25 kB / 1.162 GB, free: 27.83 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.013, allocations: 0 / 1.162 GB, free: 27.83 MB / 1.076 GB Notification: Performance of Templates: time 0.004999/1.018, allocations: 2.173 MB / 1.164 GB, free: 27.57 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.16150921699591]