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.001059/0.001059, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001179/0.001179, allocations: 173 kB / 23.28 MB, free: 1.219 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.999/0.999, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 2.339/2.339, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] 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.685e-06/2.685e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.609e-05/3.877e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001972/0.002011, allocations: 1.009 MB / 0.8907 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.003537, allocations: 1.303 MB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.003641, allocations: 4 kB / 0.892 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003759, allocations: 19.73 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.003832, allocations: 23.8 kB / 0.892 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.004319, allocations: 179.4 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000263/0.004582, allocations: 228.1 kB / 0.8924 GB, free: 7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.00472, allocations: 61.02 kB / 0.8925 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.004936, allocations: 131.7 kB / 0.8926 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.005046, allocations: 71.83 kB / 0.8927 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.005075, allocations: 20 kB / 0.8927 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.005146, allocations: 39.88 kB / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.005175, allocations: 35.89 kB / 0.8928 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.005229, allocations: 67.83 kB / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.005468, allocations: 179.4 kB / 0.893 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.005474, allocations: 0 / 0.893 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.302e-06/0.005475, allocations: 0 / 0.893 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.00548, allocations: 3.938 kB / 0.893 GB, free: 6.395 MB / 0.8542 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.0005504/0.006031, allocations: 0.5248 MB / 0.8935 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.00607, allocations: 12.62 kB / 0.8935 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.006207, allocations: 40.83 kB / 0.8936 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.006374, allocations: 164.3 kB / 0.8937 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.006395, allocations: 16.36 kB / 0.8937 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.006414, allocations: 16.38 kB / 0.8938 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.006552, allocations: 106.9 kB / 0.8939 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006561, allocations: 192 / 0.8939 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.006573, allocations: 12.12 kB / 0.8939 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006579, allocations: 3.984 kB / 0.8939 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.006628, allocations: 31.97 kB / 0.8939 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.007072, allocations: 439.8 kB / 0.8943 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.007227, allocations: 70.95 kB / 0.8944 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.007264, allocations: 27.8 kB / 0.8944 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.007287, allocations: 4 kB / 0.8944 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.007389, allocations: 76.97 kB / 0.8945 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.00739, allocations: 0 / 0.8945 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003406/0.007731, allocations: 113.6 kB / 0.8946 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.007759, allocations: 55.41 kB / 0.8947 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/0.007856, allocations: 208.3 kB / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.007877, allocations: 29.7 kB / 0.8949 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.007948, allocations: 175.1 kB / 0.895 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.007972, allocations: 35.72 kB / 0.8951 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.008028, allocations: 47.34 kB / 0.8951 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.008142, allocations: 0.4962 MB / 0.8956 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.008205, allocations: 53.69 kB / 0.8957 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.008292, allocations: 130.1 kB / 0.8958 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.992e-05/0.008382, allocations: 103.6 kB / 0.8959 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008384, allocations: 0 / 0.8959 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002038/0.008587, allocations: 212.8 kB / 0.8961 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.008618, allocations: 33.69 kB / 0.8961 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.008624, allocations: 4 kB / 0.8961 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.008635, allocations: 0 / 0.8961 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.008697, allocations: 16 kB / 0.8961 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.0087, allocations: 3.938 kB / 0.8961 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.008787, allocations: 31.98 kB / 0.8962 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.008803, allocations: 11.98 kB / 0.8962 GB, free: 2.859 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 8.449e-05/0.008887, allocations: 164.6 kB / 0.8963 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.008908, allocations: 19.89 kB / 0.8964 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.008937, allocations: 12.78 kB / 0.8964 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008939, allocations: 0 / 0.8964 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.008941, allocations: 0 / 0.8964 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.008946, allocations: 3.984 kB / 0.8964 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.009062, allocations: 149.1 kB / 0.8965 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.009063, allocations: 0 / 0.8965 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.009106, allocations: 15.94 kB / 0.8965 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.009109, allocations: 7.984 kB / 0.8965 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.009117, allocations: 4 kB / 0.8965 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.009119, allocations: 3.938 kB / 0.8965 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.00912, allocations: 0 / 0.8965 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.009253, allocations: 132.8 kB / 0.8967 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.009266, allocations: 7.953 kB / 0.8967 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.009284, allocations: 3.984 kB / 0.8967 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.916e-05/0.009313, allocations: 11.94 kB / 0.8967 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.009349, allocations: 11.97 kB / 0.8967 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.009356, allocations: 11.98 kB / 0.8967 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.009407, allocations: 152.8 kB / 0.8969 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009407, allocations: 0 / 0.8969 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001663/0.009574, allocations: 43.89 kB / 0.8969 GB, free: 2.055 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.0001248/0.009698, allocations: 103.2 kB / 0.897 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.009902, allocations: 164.7 kB / 0.8972 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.009904, allocations: 0 / 0.8972 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.009948, allocations: 35.61 kB / 0.8972 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01016, allocations: 32.09 kB / 0.8972 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.01065, allocations: 278.4 kB / 0.8975 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.01068, allocations: 67.34 kB / 0.8976 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.01073, allocations: 8.969 kB / 0.8976 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01083, allocations: 106.2 kB / 0.8977 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.01083, allocations: 0 / 0.8977 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of Templates: time 0.004122/0.01495, allocations: 2.392 MB / 0.9 GB, free: 14.86 MB / 0.8698 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4033709657378495]