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.001869/0.001869, allocations: 88.72 kB / 19.44 MB, free: 356 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.002605/0.002605, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.234/3.234, allocations: 429.6 MB / 0.673 GB, free: 3.898 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 3.596e-06/3.596e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/4.093e-05, allocations: 3.906 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002792/0.002833, allocations: 0.9797 MB / 0.8785 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.005569, allocations: 1.288 MB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.00571, allocations: 1.031 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.005866, allocations: 19.8 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.005984, allocations: 24.7 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.006659, allocations: 172.2 kB / 0.88 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.007052, allocations: 232.6 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.007288, allocations: 61.02 kB / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.007665, allocations: 135.1 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.007857, allocations: 75.75 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.007912, allocations: 20 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.008066, allocations: 39.98 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.00812, allocations: 35.84 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.008251, allocations: 67.88 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.008727, allocations: 275.1 kB / 0.8809 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.008734, allocations: 4 kB / 0.8809 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/0.008735, allocations: 0 / 0.8809 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.008743, allocations: 0.5312 kB / 0.8809 GB, free: 3.098 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.0009945/0.009738, allocations: 424.8 kB / 0.8813 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.009794, allocations: 12.03 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.01005, allocations: 41.47 kB / 0.8814 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.01038, allocations: 168.8 kB / 0.8815 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.01041, allocations: 13.91 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.01045, allocations: 16.38 kB / 0.8815 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.01078, allocations: 134.9 kB / 0.8817 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.0108, allocations: 192 / 0.8817 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.01082, allocations: 11.94 kB / 0.8817 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01083, allocations: 4 kB / 0.8817 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.01107, allocations: 83.95 kB / 0.8818 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.01196, allocations: 408 kB / 0.8822 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.01233, allocations: 102.6 kB / 0.8823 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.01245, allocations: 44.77 kB / 0.8823 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.01248, allocations: 11.94 kB / 0.8823 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.01277, allocations: 95.48 kB / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.01278, allocations: 0 / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0004993/0.01328, allocations: 145.9 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.01334, allocations: 55.41 kB / 0.8826 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.01353, allocations: 158.4 kB / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.01357, allocations: 29.7 kB / 0.8828 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.0137, allocations: 132.4 kB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.01374, allocations: 31.75 kB / 0.8829 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.01385, allocations: 45.69 kB / 0.883 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.01406, allocations: 326.8 kB / 0.8833 GB, free: 496 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.01425, allocations: 81.67 kB / 0.8834 GB, free: 408 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.01448, allocations: 142.7 kB / 0.8835 GB, free: 240 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.01476, allocations: 135.6 kB / 0.8836 GB, free: 92 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01476, allocations: 0 / 0.8836 GB, free: 92 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005603/0.01532, allocations: 256.9 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.01537, allocations: 37.7 kB / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01538, allocations: 0 / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.0154, allocations: 3.938 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.0155, allocations: 15.98 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.01551, allocations: 4 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.01575, allocations: 39.89 kB / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.01578, allocations: 8 kB / 0.884 GB, free: 15.71 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.0001494/0.01593, allocations: 134 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.01598, allocations: 23.84 kB / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.01603, allocations: 16.72 kB / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01603, allocations: 0 / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.01603, allocations: 0 / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01604, allocations: 0 / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.01626, allocations: 169.2 kB / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01626, allocations: 0 / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.01635, allocations: 19.88 kB / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01635, allocations: 0 / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.01637, allocations: 11.98 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01637, allocations: 0 / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01637, allocations: 0 / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.01669, allocations: 156.9 kB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.01672, allocations: 15.83 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.01674, allocations: 0 / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.01682, allocations: 11.98 kB / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.0169, allocations: 15.97 kB / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01691, allocations: 0 / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001167/0.01702, allocations: 113.3 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01703, allocations: 4 kB / 0.8846 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002764/0.0173, allocations: 47.88 kB / 0.8847 GB, free: 14.93 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.0001942/0.0175, allocations: 99.19 kB / 0.8848 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.01795, allocations: 201 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01795, allocations: 0 / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.01808, allocations: 43.91 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.0184, allocations: 42.41 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.0191, allocations: 272.9 kB / 0.8853 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.01924, allocations: 102.9 kB / 0.8854 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.14e-05/0.01931, allocations: 16.97 kB / 0.8854 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.01936, allocations: 16.5 kB / 0.8854 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.01936, allocations: 0 / 0.8854 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.00694/0.0263, allocations: 2.184 MB / 0.8876 GB, free: 11.95 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=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/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.370092866010964]