Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.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.0009782/0.0009782, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001027/0.001027, allocations: 169 kB / 23.27 MB, free: 1.223 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.938/0.938, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.359/2.359, 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.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.647e-06/3.647e-06, allocations: 0 / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.622e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002305/0.002342, allocations: 1.129 MB / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.00442, allocations: 1.45 MB / 0.8923 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.004558, allocations: 7.938 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.713e-05/0.004615, allocations: 19.73 kB / 0.8923 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.004794, allocations: 67.5 kB / 0.8924 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008988/0.005693, allocations: 363.2 kB / 0.8927 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.00622, allocations: 471.1 kB / 0.8932 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.00641, allocations: 63.67 kB / 0.8932 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.006735, allocations: 263.5 kB / 0.8935 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.006937, allocations: 123.6 kB / 0.8936 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.007003, allocations: 48 kB / 0.8936 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.007114, allocations: 59.98 kB / 0.8937 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.007159, allocations: 47.83 kB / 0.8937 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.007286, allocations: 135.7 kB / 0.8939 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.00767, allocations: 319.1 kB / 0.8942 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.007674, allocations: 0 / 0.8942 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007675, allocations: 3.938 kB / 0.8942 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.00768, allocations: 0 / 0.8942 GB, free: 5.211 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.000749/0.008429, allocations: 0.6644 MB / 0.8948 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.008474, allocations: 12.61 kB / 0.8948 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.791e-05/0.008561, allocations: 44.8 kB / 0.8949 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.008812, allocations: 216.2 kB / 0.8951 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.008845, allocations: 24.38 kB / 0.8951 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.00889, allocations: 32.38 kB / 0.8951 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.009066, allocations: 116.2 kB / 0.8953 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.009074, allocations: 192 / 0.8953 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.009087, allocations: 4.375 kB / 0.8953 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.009095, allocations: 4.375 kB / 0.8953 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.996e-05/0.009165, allocations: 44.36 kB / 0.8953 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.009927, allocations: 0.5503 MB / 0.8958 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.01007, allocations: 91 kB / 0.8959 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.0101, allocations: 31.61 kB / 0.896 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.01013, allocations: 4 kB / 0.896 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.0103, allocations: 134.7 kB / 0.8961 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 2.394e-06/0.0103, allocations: 4 kB / 0.8961 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003212/0.01063, allocations: 183.5 kB / 0.8963 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.01067, allocations: 67.33 kB / 0.8963 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.01084, allocations: 249.5 kB / 0.8966 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.01088, allocations: 37.7 kB / 0.8966 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.01101, allocations: 195.3 kB / 0.8968 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.01106, allocations: 59.5 kB / 0.8968 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.0112, allocations: 95.28 kB / 0.8969 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.01133, allocations: 0.504 MB / 0.8974 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.01151, allocations: 165 kB / 0.8976 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.01173, allocations: 269.5 kB / 0.8978 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.01203, allocations: 305.4 kB / 0.8981 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01203, allocations: 0 / 0.8981 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008569/0.01289, allocations: 0.5071 MB / 0.8986 GB, free: 248 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.01297, allocations: 105.1 kB / 0.8987 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.01298, allocations: 3.938 kB / 0.8987 GB, free: 120 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.013, allocations: 8.25 kB / 0.8987 GB, free: 112 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01313, allocations: 27.98 kB / 0.8988 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01313, allocations: 7.938 kB / 0.8988 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.01338, allocations: 63.83 kB / 0.8988 GB, free: 12 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.01344, allocations: 24.05 kB / 0.8989 GB, free: 15.98 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,halPerRat.tOffSam.y,$PRE.halPerRat.tOffSam.y,halPerRat.tOnSam.y,$PRE.halPerRat.tOnSam.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 3 * 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.000137/0.01358, allocations: 176.5 kB / 0.899 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.01362, allocations: 35.86 kB / 0.8991 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.01387, allocations: 163.3 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.01387, allocations: 8 kB / 0.8992 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01387, allocations: 0 / 0.8992 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01388, allocations: 0 / 0.8992 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.01434, allocations: 460 kB / 0.8997 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01434, allocations: 0 / 0.8997 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.0144, allocations: 15.98 kB / 0.8997 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.0144, allocations: 3.938 kB / 0.8997 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.01441, allocations: 8 kB / 0.8997 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01442, allocations: 0 / 0.8997 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01442, allocations: 7.984 kB / 0.8997 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.01466, allocations: 303.7 kB / 0.9 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.01469, allocations: 19.8 kB / 0.9 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01471, allocations: 8 kB / 0.9 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.01477, allocations: 3.984 kB / 0.9 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.01481, allocations: 11.98 kB / 0.9 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.01482, allocations: 7.984 kB / 0.9 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.33e-05/0.01491, allocations: 184 kB / 0.9002 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01491, allocations: 0 / 0.9002 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003485/0.01526, allocations: 71.89 kB / 0.9003 GB, free: 14.46 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (samTri.y,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,halPerRat.tOnSam.y,halPerRat.tOffSam.y,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001654/0.01543, allocations: 123.4 kB / 0.9004 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.01585, allocations: 446.7 kB / 0.9008 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01585, allocations: 0 / 0.9008 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.01593, allocations: 61.23 kB / 0.9009 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.01631, allocations: 56.91 kB / 0.9009 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.01683, allocations: 355.1 kB / 0.9013 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.01688, allocations: 75.98 kB / 0.9014 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.308e-05/0.01696, allocations: 29.94 kB / 0.9014 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.01717, allocations: 146.1 kB / 0.9015 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of SimCode: time 8.01e-07/0.01717, allocations: 0 / 0.9015 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of Templates: time 0.008138/0.02531, allocations: 4.773 MB / 0.9062 GB, free: 8.457 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.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.448280763346702]