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.001831/0.001831, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002065/0.002065, allocations: 207.8 kB / 22.99 MB, free: 4.957 MB / 14.72 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 66.28 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4231, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002658/0.4257, allocations: 1.104 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.4278, allocations: 1.416 MB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4279, allocations: 0 / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.948e-05/0.428, allocations: 23.73 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.4282, allocations: 59.56 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.4291, allocations: 376.9 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.4297, allocations: 463.1 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.4299, allocations: 71.62 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.4301, allocations: 183.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.4303, allocations: 171.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.4304, allocations: 52 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.4305, allocations: 56 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.4306, allocations: 47.84 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.4308, allocations: 151.5 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.4314, allocations: 498.3 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.4314, allocations: 7.938 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4314, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.4314, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 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.0009623/0.4323, allocations: 0.549 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4324, allocations: 12.03 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4325, allocations: 36.69 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.4329, allocations: 222.3 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.4329, allocations: 16.38 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.433, allocations: 28.38 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.4332, allocations: 142 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4332, allocations: 7.922 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.4333, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4333, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.4335, allocations: 87.91 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.4345, allocations: 0.5349 MB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.4347, allocations: 114.4 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.4348, allocations: 48.83 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.4348, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.4351, allocations: 139.3 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.4351, allocations: 4 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005363/0.4357, allocations: 258.6 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.4357, allocations: 59.41 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.436, allocations: 218.7 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.436, allocations: 41.7 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.4362, allocations: 136.6 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.4362, allocations: 59.52 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.4364, allocations: 85.66 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.4366, allocations: 330.8 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.4369, allocations: 225 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.4373, allocations: 310.9 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.4378, allocations: 342.3 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4378, allocations: 7.938 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009702/0.4388, allocations: 0.5854 MB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/0.4389, allocations: 97.09 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4389, allocations: 12.23 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.4389, allocations: 4 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.439, allocations: 19.94 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.4391, allocations: 11.92 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.4396, allocations: 87.8 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.4396, allocations: 23.98 kB / 1.336 GB, free: 7.18 MB / 1.029 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.0002/0.4398, allocations: 153.7 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.4399, allocations: 19.86 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.4403, allocations: 204.8 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.4403, allocations: 7.984 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4403, allocations: 0 / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4403, allocations: 0 / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.441, allocations: 491.4 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.441, allocations: 0 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.441, allocations: 19.98 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.441, allocations: 4 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4411, allocations: 7.938 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4411, allocations: 4 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4411, allocations: 0 / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.4414, allocations: 300.7 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.4415, allocations: 19.91 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.4415, allocations: 3.984 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.4416, allocations: 4 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.4416, allocations: 23.92 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.4417, allocations: 4 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001502/0.4418, allocations: 160.4 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4418, allocations: 0 / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003735/0.4422, allocations: 67.88 kB / 1.338 GB, free: 5.648 MB / 1.029 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.0001821/0.4424, allocations: 115.9 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000756/0.4431, allocations: 0.4991 MB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4431, allocations: 0 / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.4432, allocations: 76.39 kB / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.4437, allocations: 58.06 kB / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.4444, allocations: 370.2 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.4446, allocations: 129.9 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.355e-05/0.4447, allocations: 22.08 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.4447, allocations: 31.42 kB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4447, allocations: 0 / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of Templates: time 0.009248/0.4539, allocations: 4.62 MB / 1.344 GB, free: 15.76 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.csv","/var/lib/jenkins1/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: 9.657149356004084]