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.001605/0.001605, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001942/0.001942, allocations: 214.8 kB / 23.01 MB, free: 4.57 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.255/3.255, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002053/0.002053, allocations: 67.17 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3983, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002559/0.4009, allocations: 1.08 MB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00263/0.4035, allocations: 1.67 MB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.4037, allocations: 11.94 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.4038, allocations: 19.69 kB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.4039, allocations: 43.7 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.4046, allocations: 224.9 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.405, allocations: 331.3 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.4052, allocations: 59.02 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.4054, allocations: 131.6 kB / 1.358 GB, free: 4.371 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.4056, allocations: 115.6 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.4056, allocations: 32 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.4057, allocations: 51.98 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.4058, allocations: 55.83 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.4059, allocations: 131.4 kB / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.4064, allocations: 358.7 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4064, allocations: 0 / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4064, allocations: 0 / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.4064, allocations: 0 / 1.358 GB, free: 3.641 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009499/0.4074, allocations: 491.7 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4074, allocations: 8.031 kB / 1.359 GB, free: 3.113 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.4075, allocations: 28.8 kB / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.4079, allocations: 202.2 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.408, allocations: 28.58 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.408, allocations: 20.38 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.4084, allocations: 180.1 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4084, allocations: 0 / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.4084, allocations: 15.98 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.4084, allocations: 4 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.4088, allocations: 132.7 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.4098, allocations: 0.6048 MB / 1.36 GB, free: 1.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.4103, allocations: 178.8 kB / 1.36 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4105, allocations: 72.73 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.4105, allocations: 3.938 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.4109, allocations: 215.6 kB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.4109, allocations: 0 / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.0007547/0.4117, allocations: 321.4 kB / 1.361 GB, free: 1.035 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.4117, allocations: 63.39 kB / 1.361 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.4119, allocations: 171 kB / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.412, allocations: 49.69 kB / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4121, allocations: 120.6 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.4122, allocations: 71.47 kB / 1.361 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4123, allocations: 73.67 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4124, allocations: 334.8 kB / 1.362 GB, free: 124 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.4126, allocations: 91.97 kB / 1.362 GB, free: 32 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.4129, allocations: 144.1 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.4132, allocations: 213 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4132, allocations: 3.938 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005751/0.4138, allocations: 339.2 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.4139, allocations: 41.64 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4139, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4139, allocations: 8.094 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.414, allocations: 23.92 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.414, allocations: 4 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.4143, allocations: 47.84 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.4143, allocations: 19.98 kB / 1.362 GB, free: 15.15 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.0001696/0.4145, allocations: 161.7 kB / 1.363 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.4145, allocations: 27.86 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005511/0.4151, allocations: 267.5 kB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4151, allocations: 48 / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4151, allocations: 3.984 kB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4151, allocations: 4 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.4161, allocations: 0.6314 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4161, allocations: 4 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.4161, allocations: 19.92 kB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4161, allocations: 0 / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.4162, allocations: 11.98 kB / 1.364 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4162, allocations: 0 / 1.364 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4162, allocations: 0 / 1.364 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.4167, allocations: 356.1 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.4167, allocations: 27.8 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.4168, allocations: 15.98 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4169, allocations: 15.98 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.417, allocations: 23.95 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.4171, allocations: 19.86 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001198/0.4172, allocations: 139.4 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4172, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003414/0.4175, allocations: 63.88 kB / 1.364 GB, free: 13.3 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.0001999/0.4177, allocations: 121 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005832/0.4183, allocations: 279.1 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4183, allocations: 0 / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.4185, allocations: 100.3 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.419, allocations: 48.03 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.4198, allocations: 390.4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.4202, allocations: 0.7362 MB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.4203, allocations: 27.42 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.4203, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of Templates: time 0.005753/0.426, allocations: 3.08 MB / 1.369 GB, free: 8.473 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.68162626499543]