Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001312/0.001312, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001553/0.001553, allocations: 209.7 kB / 22.24 MB, free: 4.848 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.785 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.554/3.554, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [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.002221/0.002221, allocations: 68.84 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4644, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.003973/0.4683, allocations: 1.024 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004178/0.4725, allocations: 1.604 MB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.4728, allocations: 7.938 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.473, allocations: 19.73 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.4733, allocations: 47.58 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4743, allocations: 231.9 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.475, allocations: 327.4 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.4753, allocations: 47.03 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.4756, allocations: 131.6 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.476, allocations: 111.4 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.4761, allocations: 36 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.4763, allocations: 43.97 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.4764, allocations: 47.91 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.4766, allocations: 111.6 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000674/0.4773, allocations: 362.7 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4773, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.879e-06/0.4773, allocations: 7.984 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.4773, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001521/0.4788, allocations: 483.8 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4789, allocations: 8.031 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.479, allocations: 28.8 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.4796, allocations: 206.7 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.4797, allocations: 16.66 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.4798, allocations: 24.38 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.4804, allocations: 188 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4805, allocations: 0 / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.4805, allocations: 11.98 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4805, allocations: 4 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.481, allocations: 132.7 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.4826, allocations: 0.504 MB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.4832, allocations: 186.7 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.4835, allocations: 72.73 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.4835, allocations: 4 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.4841, allocations: 201.3 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 2.725e-06/0.4841, allocations: 4 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001148/0.4853, allocations: 321.4 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.4853, allocations: 59.39 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.4856, allocations: 186.2 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.4857, allocations: 41.64 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4858, allocations: 128.6 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/0.4859, allocations: 63.56 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.4861, allocations: 73.69 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4863, allocations: 334.8 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.4867, allocations: 133.6 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.4871, allocations: 203.2 kB / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.4876, allocations: 201.1 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4876, allocations: 0 / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008666/0.4885, allocations: 380.9 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.4885, allocations: 37.7 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4885, allocations: 0 / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.4886, allocations: 8.094 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.4887, allocations: 23.92 kB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/0.4887, allocations: 8 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.4891, allocations: 50.08 kB / 1.372 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.4892, allocations: 19.98 kB / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0002245/0.4894, allocations: 150.4 kB / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.4895, allocations: 27.8 kB / 1.372 GB, free: 4.707 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008637/0.4903, allocations: 276.3 kB / 1.372 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.4903, allocations: 8.031 kB / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4903, allocations: 0 / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4903, allocations: 0 / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.4916, allocations: 0.5803 MB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4916, allocations: 0 / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-05/0.4917, allocations: 12 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.4917, allocations: 4 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.4918, allocations: 11.98 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4918, allocations: 0 / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4918, allocations: 3.938 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.4927, allocations: 372 kB / 1.373 GB, free: 3.391 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.4927, allocations: 23.83 kB / 1.373 GB, free: 3.367 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.4928, allocations: 8 kB / 1.373 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.493, allocations: 15.98 kB / 1.373 GB, free: 3.344 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4931, allocations: 27.95 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.4931, allocations: 15.98 kB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001721/0.4933, allocations: 136.2 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4933, allocations: 0 / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005255/0.4938, allocations: 67.88 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002621/0.4941, allocations: 116.9 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008217/0.4949, allocations: 317.3 kB / 1.374 GB, free: 2.652 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4949, allocations: 4.125 kB / 1.374 GB, free: 2.648 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.4953, allocations: 103.8 kB / 1.374 GB, free: 2.547 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.4959, allocations: 43.95 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.497, allocations: 360.2 kB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.4972, allocations: 125.3 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000138/0.4973, allocations: 21.94 kB / 1.375 GB, free: 1.961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/0.4974, allocations: 31.44 kB / 1.375 GB, free: 1.93 MB / 1.061 GB Notification: Performance of SimCode: time 6.72e-07/0.4974, allocations: 0 / 1.375 GB, free: 1.93 MB / 1.061 GB Notification: Performance of Templates: time 0.01156/0.509, allocations: 3.687 MB / 1.378 GB, free: 14.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.084180723875761]