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.002261/0.002261, allocations: 84.06 kB / 19.44 MB, free: 328 kB / 13.93 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.001997/0.001997, allocations: 169.3 kB / 22.76 MB, free: 1.652 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 1.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.45/3.45, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.998e-05, allocations: 3.297 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002403/0.002433, allocations: 1.006 MB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.004436, allocations: 1.288 MB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.004532, allocations: 1.125 kB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.004665, allocations: 23.73 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.004746, allocations: 16.88 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.005274, allocations: 180.7 kB / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.005611, allocations: 228 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.005783, allocations: 61.02 kB / 0.8802 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.006205, allocations: 137.5 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.006363, allocations: 67.77 kB / 0.8804 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.006414, allocations: 20 kB / 0.8804 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.00652, allocations: 39.98 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.006571, allocations: 39.83 kB / 0.8804 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.006673, allocations: 70.61 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.007056, allocations: 271.1 kB / 0.8808 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.007062, allocations: 4 kB / 0.8808 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.11e-07/0.007063, allocations: 0 / 0.8808 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.007068, allocations: 0 / 0.8808 GB, free: 3.262 MB / 0.8386 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.0008413/0.007909, allocations: 0.5285 MB / 0.8813 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.007946, allocations: 12.75 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.00814, allocations: 42.44 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.008422, allocations: 164.5 kB / 0.8815 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.008445, allocations: 12.38 kB / 0.8815 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.008482, allocations: 20.38 kB / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.008763, allocations: 134 kB / 0.8817 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.008774, allocations: 0.6875 kB / 0.8817 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.008793, allocations: 9.625 kB / 0.8817 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.0088, allocations: 4 kB / 0.8817 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.009008, allocations: 79.95 kB / 0.8818 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/0.009839, allocations: 0.4898 MB / 0.8822 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.01016, allocations: 115.1 kB / 0.8823 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.01027, allocations: 47.61 kB / 0.8824 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.0103, allocations: 1.594 kB / 0.8824 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.0105, allocations: 93.22 kB / 0.8825 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.0105, allocations: 0 / 0.8825 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000431/0.01093, allocations: 165.8 kB / 0.8826 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.01099, allocations: 55.39 kB / 0.8827 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.01121, allocations: 228.9 kB / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.01124, allocations: 25.7 kB / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.01138, allocations: 175.2 kB / 0.8831 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.01143, allocations: 43.72 kB / 0.8831 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.01153, allocations: 51.36 kB / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002791/0.01181, allocations: 0.4962 MB / 0.8837 GB, free: 104 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.012, allocations: 93.66 kB / 0.8838 GB, free: 4 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.01226, allocations: 166.1 kB / 0.8839 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.01251, allocations: 143.8 kB / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01252, allocations: 0 / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004954/0.01301, allocations: 264.9 kB / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.01306, allocations: 39.41 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.01307, allocations: 4 kB / 0.8844 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01308, allocations: 0 / 0.8844 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.01317, allocations: 15.94 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.01319, allocations: 3.984 kB / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.01338, allocations: 27.98 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.01341, allocations: 15.98 kB / 0.8844 GB, free: 15.27 MB / 0.8542 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.0001568/0.01357, allocations: 176.6 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.0136, allocations: 19.84 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.01365, allocations: 16.78 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01366, allocations: 0 / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.01367, allocations: 11.92 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01367, allocations: 0 / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.01389, allocations: 184.6 kB / 0.8848 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.0139, allocations: 4 kB / 0.8848 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.01398, allocations: 19.92 kB / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01398, allocations: 4 kB / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.014, allocations: 0 / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.014, allocations: 0 / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.014, allocations: 0 / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.0143, allocations: 160.3 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.01433, allocations: 19.77 kB / 0.885 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.01435, allocations: 7.938 kB / 0.885 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.01442, allocations: 11.98 kB / 0.885 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.01448, allocations: 11.98 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.0145, allocations: 7.984 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001267/0.01462, allocations: 160.9 kB / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01462, allocations: 0 / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002424/0.01487, allocations: 43.89 kB / 0.8852 GB, free: 14.36 MB / 0.8542 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.0001739/0.01504, allocations: 107.2 kB / 0.8853 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.01548, allocations: 232.7 kB / 0.8856 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01548, allocations: 4.125 kB / 0.8856 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.0156, allocations: 51.61 kB / 0.8856 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01588, allocations: 32.42 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.01644, allocations: 282.3 kB / 0.8859 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.01655, allocations: 106.9 kB / 0.886 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.499e-05/0.01661, allocations: 8.969 kB / 0.886 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.01666, allocations: 20.5 kB / 0.886 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01666, allocations: 0 / 0.886 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of Templates: time 0.006997/0.02366, allocations: 2.19 MB / 0.8882 GB, free: 11.32 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/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: 8.662447224953212]