Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00178/0.00178, 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.002236/0.002236, allocations: 206.7 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.613/1.613, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.321/3.321, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_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_12_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.002234/0.002234, allocations: 70.17 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3892, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002673/0.3919, allocations: 1.026 MB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.3946, allocations: 1.603 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.3948, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3949, allocations: 23.73 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.3951, allocations: 47.66 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.3958, allocations: 229 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.3962, allocations: 323.4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3964, allocations: 62.95 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3966, allocations: 131.6 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.3968, allocations: 123.4 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.3968, allocations: 32 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.397, allocations: 47.98 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.397, allocations: 55.89 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.3972, allocations: 103.6 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.3977, allocations: 366.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3977, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3977, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3977, allocations: 0 / 1.331 GB, free: 12.86 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001058/0.3987, allocations: 483.7 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3988, allocations: 8.031 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.3989, allocations: 28.84 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.3993, allocations: 210.1 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.3994, allocations: 24.64 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.3994, allocations: 20.38 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.3998, allocations: 180.1 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3998, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3999, allocations: 11.98 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3999, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.4002, allocations: 140.7 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.4013, allocations: 0.504 MB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.4017, allocations: 166.8 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.4019, allocations: 76.81 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.402, allocations: 3.938 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004285/0.4024, allocations: 206 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.4024, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0008118/0.4032, allocations: 329.3 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.4033, allocations: 63.33 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.4035, allocations: 182.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.4035, allocations: 45.7 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4036, allocations: 132.5 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.4037, allocations: 59.53 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4039, allocations: 73.69 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.404, allocations: 330.8 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.4043, allocations: 137.6 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.4046, allocations: 203.9 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.4049, allocations: 209 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4049, allocations: 0 / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006457/0.4055, allocations: 377.5 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.4056, allocations: 41.69 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4056, allocations: 0 / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4056, allocations: 4 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.4057, allocations: 27.92 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.4058, allocations: 3.984 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.406, allocations: 51.84 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.4061, allocations: 12.06 kB / 1.335 GB, free: 8.336 MB / 1.029 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.0001854/0.4063, allocations: 158.7 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.4063, allocations: 23.83 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.4069, allocations: 277.2 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4069, allocations: 0 / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4069, allocations: 0 / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.4069, allocations: 23.78 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.407, allocations: 12 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4071, allocations: 19.98 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.4072, allocations: 31.98 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006163/0.4078, allocations: 354.6 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006006/0.4084, allocations: 434.6 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001962/0.4086, allocations: 93.19 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001202/0.4087, allocations: 131.2 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of Backend: time 5.61e-07/0.4087, allocations: 0 / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008059/0.4095, allocations: 327 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of SimCode: time 0.001045/0.4106, allocations: 0.7702 MB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of Templates: time 0.008793/0.4194, allocations: 3.96 MB / 1.342 GB, free: 1.711 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.536785416996281]