Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.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.001798/0.001798, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002247/0.002247, allocations: 214.8 kB / 23 MB, free: 4.969 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.613/1.613, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.475/3.475, allocations: 0.49 GB / 0.7959 GB, free: 35.68 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.OnOffPeriod,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relSwi.y|retSig.y|onOffPer.tOn|onOffPer.tOff",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relSwi.y|retSig.y|onOffPer.tOn|onOffPer.tOff",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") [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.002061/0.002061, allocations: 67.97 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4341, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod): time 0.004689/0.4388, allocations: 1.264 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.4421, allocations: 1.474 MB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.4425, allocations: 11.94 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.4428, allocations: 35.53 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.4431, allocations: 31.67 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.4442, allocations: 337.4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007811/0.445, allocations: 467.3 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.4454, allocations: 162.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.4459, allocations: 175.5 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.4464, allocations: 171.3 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.4465, allocations: 52 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.4467, allocations: 71.98 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.4468, allocations: 83.77 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.4471, allocations: 155.4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008757/0.4479, allocations: 0.6306 MB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.448, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.448, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.66e-05/0.448, allocations: 0 / 1.332 GB, free: 11.92 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001487/0.4495, allocations: 0.5807 MB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.4495, allocations: 11.97 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.4497, allocations: 40.75 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/0.4505, allocations: 287.2 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.4505, allocations: 28.97 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/0.4506, allocations: 40.38 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.4512, allocations: 254.6 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4512, allocations: 3.938 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.4512, allocations: 16 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.4513, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.4517, allocations: 170.5 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.4533, allocations: 0.7228 MB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.4538, allocations: 167.9 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.454, allocations: 80.83 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.454, allocations: 3.984 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003468/0.4544, allocations: 167.2 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of pre-optimization done (n=29): time 2.585e-06/0.4544, allocations: 0 / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.0007007/0.4551, allocations: 314.7 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.4552, allocations: 63.39 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.4555, allocations: 202.3 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.4555, allocations: 41.7 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.4557, allocations: 180.5 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.4558, allocations: 71.48 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.456, allocations: 97.66 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.4562, allocations: 338.8 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.4565, allocations: 179.7 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.4569, allocations: 277.8 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.4573, allocations: 336.9 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4573, allocations: 0 / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001009/0.4583, allocations: 0.5147 MB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.4584, allocations: 67.39 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4584, allocations: 7.938 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4584, allocations: 4 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4586, allocations: 39.86 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4586, allocations: 4 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.459, allocations: 76.06 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.459, allocations: 23.98 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 34 (onOffPer.timOffRec.yRec.y,$PRE.onOffPer.timOffRec.yRec.y,onOffPer.timOnRec.yRec.y,$PRE.onOffPer.timOnRec.yRec.y,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,relSwi.y,$PRE.relSwi.y,$whenCondition1,$whenCondition2,retSig.y,$PRE.retSig.y,onOffPer.timOffRec.edgThr.y,onOffPer.timOffRec.edgThr.u,$PRE.onOffPer.timOffRec.edgThr.u,onOffPer.timOffRec.edgRes.u,$PRE.onOffPer.timOffRec.edgRes.u,onOffPer.timOffRec.samTri.y,onOffPer.timOffRec.samTri.u2,onOffPer.timOnRec.edgThr.y,onOffPer.timOnRec.edgThr.u,$PRE.onOffPer.timOnRec.edgThr.u,onOffPer.timOnRec.edgRes.u,$PRE.onOffPer.timOnRec.edgRes.u,onOffPer.timOnRec.samTri.y,onOffPer.timOnRec.samTri.u2,onOffPer.timOff.y,$PRE.onOffPer.timOff.y,onOffPer.timOn.y,$PRE.onOffPer.timOn.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * 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.0002282/0.4593, allocations: 185.7 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.4593, allocations: 19.86 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/0.4594, allocations: 30.53 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4594, allocations: 3.984 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4594, allocations: 11.94 kB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.4594, allocations: 19.86 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.4594, allocations: 8 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.4595, allocations: 4 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.4596, allocations: 27.95 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004507/0.46, allocations: 304.8 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000447/0.4605, allocations: 406.5 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001438/0.4606, allocations: 84.7 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001317/0.4607, allocations: 144.1 kB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of Backend: time 4.11e-07/0.4607, allocations: 0 / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009278/0.4617, allocations: 462.5 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of SimCode: time 0.001154/0.4628, allocations: 0.8609 MB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of Templates: time 0.009023/0.4718, allocations: 3.91 MB / 1.344 GB, free: 15.75 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_OnOffPeriod.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.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.67907547899813]