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.001157/0.001157, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001298/0.001298, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8984/0.8984, allocations: 177.2 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.718/1.718, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.283e-06/1.283e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.156e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.00147/0.001492, allocations: 0.9729 MB / 0.9831 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002713, allocations: 1.279 MB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.00279, allocations: 4 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.002892, allocations: 23.73 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.002956, allocations: 27.72 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.003354, allocations: 185.6 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.003564, allocations: 224 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.003711, allocations: 64.95 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.003906, allocations: 131.8 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.004012, allocations: 71.77 kB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.00404, allocations: 20 kB / 0.9851 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.0041, allocations: 43.97 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.004129, allocations: 27.92 kB / 0.9852 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.00419, allocations: 71.81 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.004451, allocations: 291 kB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004453, allocations: 0 / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004454, allocations: 0 / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.004458, allocations: 0 / 0.9855 GB, free: 14.67 MB / 0.948 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.0005233/0.004981, allocations: 427.2 kB / 0.9859 GB, free: 14.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.005015, allocations: 12.03 kB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.005128, allocations: 32.83 kB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.005309, allocations: 163.7 kB / 0.9861 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.005326, allocations: 16.38 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.005349, allocations: 16.38 kB / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.005538, allocations: 138.6 kB / 0.9863 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.005547, allocations: 192 / 0.9863 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.005562, allocations: 7.938 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.005566, allocations: 4 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.00569, allocations: 87.95 kB / 0.9864 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.006165, allocations: 404 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.006388, allocations: 98.48 kB / 0.9869 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.006457, allocations: 48.89 kB / 0.9869 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.006477, allocations: 0 / 0.9869 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.006634, allocations: 95.5 kB / 0.987 GB, free: 13.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.006636, allocations: 0 / 0.987 GB, free: 13.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.000274/0.00691, allocations: 165.4 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.006942, allocations: 51.41 kB / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.007035, allocations: 153.4 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.00709, allocations: 33.7 kB / 0.9874 GB, free: 12.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.007151, allocations: 128.4 kB / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.007174, allocations: 31.75 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.007231, allocations: 45.69 kB / 0.9876 GB, free: 12.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.007306, allocations: 318.8 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.007415, allocations: 85.67 kB / 0.988 GB, free: 11.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.00753, allocations: 150.8 kB / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.007664, allocations: 124.2 kB / 0.9882 GB, free: 11.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.007666, allocations: 7.938 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003239/0.00799, allocations: 248.8 kB / 0.9885 GB, free: 11.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.008017, allocations: 37.7 kB / 0.9885 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008022, allocations: 0 / 0.9885 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.008034, allocations: 4 kB / 0.9885 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.008097, allocations: 20.02 kB / 0.9885 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.008103, allocations: 4 kB / 0.9885 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.008214, allocations: 43.84 kB / 0.9886 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.00823, allocations: 11.94 kB / 0.9886 GB, free: 11.28 MB / 0.948 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 8.358e-05/0.008314, allocations: 121.8 kB / 0.9887 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.008327, allocations: 15.89 kB / 0.9887 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.008355, allocations: 16.77 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.008357, allocations: 8 kB / 0.9887 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008361, allocations: 0 / 0.9887 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008364, allocations: 0 / 0.9887 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.008471, allocations: 161.2 kB / 0.9889 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008473, allocations: 3.984 kB / 0.9889 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.008517, allocations: 19.88 kB / 0.9889 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.008518, allocations: 0 / 0.9889 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.008528, allocations: 7.984 kB / 0.9889 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008529, allocations: 0 / 0.9889 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.008531, allocations: 4 kB / 0.9889 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.008685, allocations: 149 kB / 0.9891 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.0087, allocations: 15.84 kB / 0.9891 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.008716, allocations: 8 kB / 0.9891 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.008745, allocations: 7.984 kB / 0.9891 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.008785, allocations: 11.98 kB / 0.9891 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.008792, allocations: 4 kB / 0.9891 GB, free: 10.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.008844, allocations: 115.2 kB / 0.9892 GB, free: 10.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008844, allocations: 0 / 0.9892 GB, free: 10.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001746/0.009019, allocations: 39.94 kB / 0.9893 GB, free: 10.53 MB / 0.948 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.0001159/0.009135, allocations: 115.2 kB / 0.9894 GB, free: 10.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.00938, allocations: 196.9 kB / 0.9896 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009381, allocations: 0 / 0.9896 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.009444, allocations: 43.98 kB / 0.9896 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.009621, allocations: 25.06 kB / 0.9896 GB, free: 10.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.009987, allocations: 296.1 kB / 0.9899 GB, free: 9.809 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.01018, allocations: 106.7 kB / 0.99 GB, free: 9.688 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.01022, allocations: 16.5 kB / 0.99 GB, free: 9.668 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.01022, allocations: 0 / 0.99 GB, free: 9.668 MB / 0.948 GB Notification: Performance of Templates: time 0.002568/0.01279, allocations: 2.027 MB / 0.992 GB, free: 7.664 MB / 0.948 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=400 -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/jenkins/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: 6.736793618649244]