Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007816/0.0007816, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009868/0.0009868, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9173/0.9173, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.763/1.763, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.521e-05, allocations: 4.953 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.001859/0.001884, allocations: 1.11 MB / 0.982 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.003538, allocations: 1.419 MB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.003637, allocations: 0 / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.003684, allocations: 19.69 kB / 0.9835 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.003835, allocations: 67.5 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.00462, allocations: 379.8 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.005039, allocations: 463.1 kB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.005216, allocations: 75.61 kB / 0.9844 GB, free: 15.06 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.005464, allocations: 251.6 kB / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.005628, allocations: 131.6 kB / 0.9848 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.005676, allocations: 48 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.005765, allocations: 59.98 kB / 0.9849 GB, free: 14.58 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.005808, allocations: 55.81 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.005914, allocations: 135.7 kB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.006345, allocations: 0.5414 MB / 0.9856 GB, free: 13.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006347, allocations: 0 / 0.9856 GB, free: 13.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.006349, allocations: 4 kB / 0.9856 GB, free: 13.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.006356, allocations: 0 / 0.9856 GB, free: 13.84 MB / 0.948 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.0006724/0.007029, allocations: 0.5451 MB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.007069, allocations: 12.03 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.007104, allocations: 46.73 kB / 0.9862 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.00717, allocations: 28.8 kB / 0.9862 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.00746, allocations: 229.3 kB / 0.9864 GB, free: 12.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.007486, allocations: 20.38 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.007524, allocations: 28.36 kB / 0.9865 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.007742, allocations: 147.5 kB / 0.9866 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.007751, allocations: 192 / 0.9866 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.007766, allocations: 4.375 kB / 0.9866 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.007773, allocations: 11.92 kB / 0.9866 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.007903, allocations: 91.95 kB / 0.9867 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.008672, allocations: 0.5734 MB / 0.9873 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.00883, allocations: 98.55 kB / 0.9874 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.008889, allocations: 48.78 kB / 0.9874 GB, free: 11.83 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.008911, allocations: 4 kB / 0.9874 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.009142, allocations: 151.1 kB / 0.9876 GB, free: 11.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.009144, allocations: 0 / 0.9876 GB, free: 11.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0003819/0.009526, allocations: 259.8 kB / 0.9878 GB, free: 11.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.009571, allocations: 59.36 kB / 0.9879 GB, free: 11.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.009725, allocations: 208.3 kB / 0.9881 GB, free: 11.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.009761, allocations: 37.69 kB / 0.9881 GB, free: 11.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.009844, allocations: 148.5 kB / 0.9882 GB, free: 10.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.009879, allocations: 51.58 kB / 0.9883 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.009982, allocations: 85.66 kB / 0.9884 GB, free: 10.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01008, allocations: 334.8 kB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.01033, allocations: 233 kB / 0.9889 GB, free: 10.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.01058, allocations: 299 kB / 0.9892 GB, free: 9.867 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.01087, allocations: 338.3 kB / 0.9895 GB, free: 9.484 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01088, allocations: 0 / 0.9895 GB, free: 9.484 MB / 0.948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005859/0.01146, allocations: 0.593 MB / 0.9901 GB, free: 8.848 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.01153, allocations: 105.1 kB / 0.9902 GB, free: 8.727 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01154, allocations: 7.938 kB / 0.9902 GB, free: 8.719 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.01155, allocations: 4.25 kB / 0.9902 GB, free: 8.715 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.01164, allocations: 27.92 kB / 0.9902 GB, free: 8.688 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01165, allocations: 8.141 kB / 0.9902 GB, free: 8.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.0119, allocations: 87.75 kB / 0.9903 GB, free: 8.594 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.01193, allocations: 27.98 kB / 0.9903 GB, free: 8.566 MB / 0.948 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.000121/0.01205, allocations: 154.4 kB / 0.9905 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.01207, allocations: 19.84 kB / 0.9905 GB, free: 8.387 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.01233, allocations: 203.4 kB / 0.9907 GB, free: 8.176 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01234, allocations: 4.047 kB / 0.9907 GB, free: 8.172 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.01234, allocations: 3.984 kB / 0.9907 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01235, allocations: 0 / 0.9907 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.0128, allocations: 0.5229 MB / 0.9912 GB, free: 7.598 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.0128, allocations: 0 / 0.9912 GB, free: 7.598 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.01285, allocations: 15.92 kB / 0.9912 GB, free: 7.582 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.666e-06/0.01285, allocations: 4 kB / 0.9912 GB, free: 7.578 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.01286, allocations: 4 kB / 0.9912 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01287, allocations: 4 kB / 0.9913 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01287, allocations: 0 / 0.9913 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.01308, allocations: 299 kB / 0.9915 GB, free: 7.262 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.0131, allocations: 19.84 kB / 0.9916 GB, free: 7.242 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.01312, allocations: 4 kB / 0.9916 GB, free: 7.238 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.01317, allocations: 4 kB / 0.9916 GB, free: 7.234 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.0132, allocations: 19.97 kB / 0.9916 GB, free: 7.215 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01321, allocations: 4 kB / 0.9916 GB, free: 7.211 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.943e-05/0.0133, allocations: 162.8 kB / 0.9917 GB, free: 7.051 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.0133, allocations: 0 / 0.9917 GB, free: 7.051 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002459/0.01355, allocations: 75.83 kB / 0.9918 GB, free: 6.977 MB / 0.948 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.0004701/0.01402, allocations: 0.8484 MB / 0.9926 GB, free: 6.105 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004639/0.01448, allocations: 0.4991 MB / 0.9931 GB, free: 5.551 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01448, allocations: 0 / 0.9931 GB, free: 5.551 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.288e-05/0.01456, allocations: 67.91 kB / 0.9932 GB, free: 5.484 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.01486, allocations: 52.45 kB / 0.9932 GB, free: 5.434 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.0175, allocations: 3.275 MB / 0.9964 GB, free: 1.922 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.29e-05/0.01758, allocations: 130.1 kB / 0.9966 GB, free: 1.773 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.547e-05/0.01764, allocations: 25.95 kB / 0.9966 GB, free: 1.746 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.01772, allocations: 72.47 kB / 0.9967 GB, free: 1.672 MB / 0.948 GB Notification: Performance of SimCode: time 8.41e-07/0.01773, allocations: 0 / 0.9967 GB, free: 1.672 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.03927, allocations: 7.068 MB / 1.004 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/6.709, allocations: 4.375 kB / 1.004 GB, free: 10.93 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.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: 10.997508740983903]