Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.001629/0.001629, allocations: 95.92 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.00223/0.00223, allocations: 210.1 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.41/3.41, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") [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.002055/0.002055, allocations: 70 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4058, 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.TuningMonitor): time 0.004968/0.4107, allocations: 2.207 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.4127, allocations: 0.9117 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.4131, allocations: 11.94 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.4133, allocations: 51.34 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.4136, allocations: 67.44 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.4148, allocations: 451.4 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000733/0.4156, allocations: 0.6249 MB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.4159, allocations: 183.1 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.4162, allocations: 239.3 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.4165, allocations: 223 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.4166, allocations: 68 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.4168, allocations: 79.98 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.4169, allocations: 91.69 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.4171, allocations: 211.1 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008578/0.4179, allocations: 0.7356 MB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.418, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.418, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.418, allocations: 0 / 1.333 GB, free: 10.88 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001277/0.4192, allocations: 0.7016 MB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4193, allocations: 8.031 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.4194, allocations: 52.66 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.4201, allocations: 301.5 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.4201, allocations: 33.02 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.4202, allocations: 44.38 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.4208, allocations: 278.6 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4208, allocations: 4.188 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.4208, allocations: 15.94 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4208, allocations: 11.94 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.4212, allocations: 194.5 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.4228, allocations: 0.793 MB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.4232, allocations: 203.1 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.4234, allocations: 96.81 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.4235, allocations: 7.938 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.4238, allocations: 197.5 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.4238, allocations: 0 / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007669/0.4246, allocations: 378.9 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.4247, allocations: 67.28 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.425, allocations: 261.8 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.425, allocations: 45.7 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4252, allocations: 192.9 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/0.4253, allocations: 83.33 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.4255, allocations: 110 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4256, allocations: 338.8 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.426, allocations: 253.7 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.4265, allocations: 321.9 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.427, allocations: 377 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.427, allocations: 0 / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001052/0.428, allocations: 0.652 MB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.4281, allocations: 103.2 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4282, allocations: 11.94 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.4282, allocations: 7.984 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.4283, allocations: 27.92 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/0.4283, allocations: 11.88 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.4289, allocations: 99.69 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.429, allocations: 31.98 kB / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,tunEnd.y,tunSta.y,tOff.booPul.y,$PRE.tOff.booPul.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tunMan.greThr1.y,tunMan.edgTunEnd.u,$PRE.tunMan.edgTunEnd.u,tunMan.edgTunSta.u,$PRE.tunMan.edgTunSta.u,tunMan.tDec.y,tunMan.tInc.y,tunMan.samAddtOntOff.y,$PRE.tunMan.samAddtOntOff.y,tunMan.triEnd,tunMan.triSta,$whenCondition1,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * 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.0002292/0.4292, allocations: 172.4 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.4293, allocations: 27.81 kB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.4298, allocations: 296.5 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4298, allocations: 0 / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4298, allocations: 3.938 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.4299, allocations: 51.72 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.43, allocations: 15.98 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.4301, allocations: 15.94 kB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.4301, allocations: 23.95 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005533/0.4307, allocations: 370.1 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005384/0.4312, allocations: 470.3 kB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001746/0.4314, allocations: 99.94 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001757/0.4316, allocations: 181.2 kB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of Backend: time 5.11e-07/0.4316, allocations: 0 / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.4326, allocations: 0.5815 MB / 1.341 GB, free: 1.914 MB / 1.029 GB Notification: Performance of SimCode: time 0.001407/0.434, allocations: 0.9771 MB / 1.342 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of Templates: time 0.01197/0.446, allocations: 5.979 MB / 1.348 GB, free: 11.04 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.586021832998085]