Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00134/0.00134, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001544/0.001544, allocations: 205.4 kB / 23 MB, free: 4.934 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.381/3.381, allocations: 0.505 GB / 0.8109 GB, free: 23.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.OnOffPeriod,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relSwi.y|retSig.y|onOffPer.tOn|onOffPer.tOff",fileNamePrefix="Buildings_latest_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_latest_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.002083/0.002083, allocations: 71.05 kB / 1.178 GB, free: 16.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4275, allocations: 180.2 MB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod): time 0.00297/0.4304, allocations: 1.252 MB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.4327, allocations: 1.47 MB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.4329, allocations: 7.938 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.4331, allocations: 39.53 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.4333, allocations: 43.59 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.4341, allocations: 329.2 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000527/0.4346, allocations: 467.3 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.4349, allocations: 170.8 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.4351, allocations: 171.5 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.4353, allocations: 171.3 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.4354, allocations: 52 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.4355, allocations: 71.92 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.4356, allocations: 79.78 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.4358, allocations: 159.4 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000664/0.4365, allocations: 0.6266 MB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4365, allocations: 0 / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4365, allocations: 0 / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.4365, allocations: 0 / 1.359 GB, free: 2.352 MB / 1.045 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.0009372/0.4374, allocations: 0.5846 MB / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4375, allocations: 8.031 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.4376, allocations: 36.75 kB / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.4381, allocations: 290.7 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.4381, allocations: 29.03 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.4382, allocations: 40.36 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.4387, allocations: 250.7 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4387, allocations: 3.938 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.4387, allocations: 12 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4387, allocations: 8 kB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.439, allocations: 170.5 kB / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.4403, allocations: 0.7228 MB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.4407, allocations: 174.8 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.4409, allocations: 80.83 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.4409, allocations: 4 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.4412, allocations: 167.3 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=29): time 2.495e-06/0.4412, allocations: 0 / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.0005965/0.4418, allocations: 315 kB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4419, allocations: 55.41 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.4421, allocations: 202.9 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.4421, allocations: 41.7 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.4423, allocations: 188.5 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.4423, allocations: 67.52 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.4425, allocations: 97.67 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4427, allocations: 334.8 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.4429, allocations: 179.8 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.4433, allocations: 273.1 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.4437, allocations: 340.3 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4437, allocations: 4 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007856/0.4445, allocations: 0.5185 MB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/0.4446, allocations: 63.39 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4446, allocations: 7.938 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4446, allocations: 4 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4448, allocations: 35.92 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.4448, allocations: 7.984 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.4452, allocations: 80.06 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.4452, allocations: 23.98 kB / 1.364 GB, free: 12.66 MB / 1.061 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.0002071/0.4454, allocations: 185.6 kB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.4455, allocations: 27.89 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.4455, allocations: 30.58 kB / 1.364 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4455, allocations: 4 kB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4455, allocations: 0 / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.4456, allocations: 15.91 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.4456, allocations: 7.984 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.477e-05/0.4457, allocations: 8 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.4457, allocations: 23.95 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004128/0.4461, allocations: 309.1 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004313/0.4466, allocations: 414.5 kB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001307/0.4467, allocations: 80.28 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001201/0.4468, allocations: 140.1 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of Backend: time 4.71e-07/0.4468, allocations: 4 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008506/0.4477, allocations: 464.2 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of SimCode: time 0.001031/0.4487, allocations: 0.866 MB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of Templates: time 0.008386/0.4571, allocations: 3.901 MB / 1.371 GB, free: 6.191 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_OnOffPeriod.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.451188280996575]