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.001305/0.001305, allocations: 92.22 kB / 19.65 MB, free: 276 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.001557/0.001557, allocations: 173 kB / 23.02 MB, free: 1.547 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.9118/0.9118, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.059/2.059, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 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.557e-06/3.557e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.537e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002012/0.002047, allocations: 1.167 MB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.003676, allocations: 1.452 MB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.00377, allocations: 0.5938 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.408e-05/0.003824, allocations: 25.05 kB / 0.8808 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.003971, allocations: 55.47 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.004677, allocations: 368.4 kB / 0.8812 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.005109, allocations: 467 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005273, allocations: 70.56 kB / 0.8817 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.00553, allocations: 263.5 kB / 0.8819 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.005704, allocations: 123.6 kB / 0.8821 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.005755, allocations: 49.34 kB / 0.8821 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.005847, allocations: 55.98 kB / 0.8822 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.005888, allocations: 51.77 kB / 0.8822 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.006001, allocations: 133.3 kB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.006327, allocations: 323.1 kB / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006331, allocations: 0 / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.006332, allocations: 0 / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.006338, allocations: 1.25 kB / 0.8826 GB, free: 1.762 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006998/0.007038, allocations: 0.6566 MB / 0.8833 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.007078, allocations: 8.031 kB / 0.8833 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.00717, allocations: 53.66 kB / 0.8833 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.007416, allocations: 216.2 kB / 0.8836 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.007444, allocations: 20.36 kB / 0.8836 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.00748, allocations: 31.81 kB / 0.8836 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.007652, allocations: 119.6 kB / 0.8837 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.00766, allocations: 192 / 0.8837 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.007675, allocations: 12.36 kB / 0.8837 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.007685, allocations: 8.359 kB / 0.8837 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.383e-05/0.007769, allocations: 53.03 kB / 0.8838 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.008487, allocations: 0.585 MB / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.008628, allocations: 90.97 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.008675, allocations: 35.66 kB / 0.8845 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.008696, allocations: 4 kB / 0.8845 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.00885, allocations: 135.4 kB / 0.8846 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.008852, allocations: 0 / 0.8846 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003246/0.009177, allocations: 209.4 kB / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.00921, allocations: 55.41 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.009369, allocations: 257.6 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.009405, allocations: 37.7 kB / 0.8851 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.009492, allocations: 199.3 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.00953, allocations: 51.53 kB / 0.8854 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.009635, allocations: 95.31 kB / 0.8855 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.009761, allocations: 0.4962 MB / 0.886 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.009946, allocations: 181 kB / 0.8861 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.01016, allocations: 301.5 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.01042, allocations: 317.5 kB / 0.8867 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01043, allocations: 0 / 0.8867 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005368/0.01096, allocations: 0.5306 MB / 0.8872 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.01102, allocations: 105 kB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01103, allocations: 3.984 kB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01104, allocations: 4.25 kB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01115, allocations: 31.92 kB / 0.8874 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01116, allocations: 4 kB / 0.8874 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.01136, allocations: 63.84 kB / 0.8874 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.0114, allocations: 31.97 kB / 0.8875 GB, free: 12.39 MB / 0.8542 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.0001168/0.01151, allocations: 177.9 kB / 0.8876 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.01154, allocations: 39.8 kB / 0.8877 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.01177, allocations: 165.3 kB / 0.8878 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01178, allocations: 8.031 kB / 0.8878 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01178, allocations: 3.938 kB / 0.8879 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01179, allocations: 3.984 kB / 0.8879 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.0122, allocations: 0.4933 MB / 0.8883 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.0122, allocations: 0 / 0.8883 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.01224, allocations: 19.94 kB / 0.8884 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.01225, allocations: 3.984 kB / 0.8884 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01226, allocations: 0 / 0.8884 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.01226, allocations: 4 kB / 0.8884 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01226, allocations: 4 kB / 0.8884 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.01249, allocations: 317.6 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.01252, allocations: 19.86 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01254, allocations: 7.984 kB / 0.8887 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.01259, allocations: 4 kB / 0.8887 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.01264, allocations: 19.91 kB / 0.8887 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01265, allocations: 8 kB / 0.8887 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.376e-05/0.01274, allocations: 178.9 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01274, allocations: 0 / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002588/0.013, allocations: 75.88 kB / 0.889 GB, free: 10.78 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: 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.0001619/0.01316, allocations: 112.4 kB / 0.8891 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.01361, allocations: 470.7 kB / 0.8895 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.01361, allocations: 0 / 0.8895 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.01369, allocations: 61.14 kB / 0.8896 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.01404, allocations: 80.5 kB / 0.8897 GB, free: 10 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.01459, allocations: 351.2 kB / 0.89 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.01464, allocations: 75.98 kB / 0.8901 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.816e-05/0.01471, allocations: 21.95 kB / 0.8901 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.01476, allocations: 20.5 kB / 0.8901 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of SimCode: time 1.372e-06/0.01476, allocations: 0 / 0.8901 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of Templates: time 0.007289/0.02205, allocations: 4.767 MB / 0.8948 GB, free: 4.871 MB / 0.8542 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.301131807733327]