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.001278/0.001278, allocations: 102.1 kB / 19.7 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.001435/0.001435, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.176/3.176, allocations: 0.49 GB / 0.7958 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.002995/0.002995, allocations: 77.88 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3772, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002595/0.3798, allocations: 1.096 MB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.3823, allocations: 1.665 MB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.3825, allocations: 7.938 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3827, allocations: 19.73 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.3828, allocations: 47.66 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.3835, allocations: 222.8 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.3839, allocations: 327.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.384, allocations: 59.02 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3842, allocations: 131.6 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3844, allocations: 115.6 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.3845, allocations: 36 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3846, allocations: 47.92 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.3846, allocations: 55.83 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3848, allocations: 127.5 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.3853, allocations: 366.7 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.3853, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3853, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3853, allocations: 0 / 1.331 GB, free: 13.13 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.0009722/0.3863, allocations: 485.4 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3863, allocations: 12.03 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/0.3864, allocations: 24.84 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3867, allocations: 214.1 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.3868, allocations: 20.64 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.3868, allocations: 20.38 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.3872, allocations: 180.1 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3872, allocations: 7.984 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.3872, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3872, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.3876, allocations: 148.6 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3886, allocations: 0.6009 MB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.3891, allocations: 186 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3893, allocations: 68.83 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3893, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004142/0.3897, allocations: 214.9 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.3897, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0007543/0.3905, allocations: 319.2 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3905, allocations: 59.39 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3907, allocations: 186.8 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.3908, allocations: 37.7 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3909, allocations: 128.6 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.3909, allocations: 67.52 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.3911, allocations: 69.69 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3912, allocations: 334.8 kB / 1.335 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3914, allocations: 91.97 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.3917, allocations: 152.4 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.392, allocations: 205.1 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.392, allocations: 3.938 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005866/0.3926, allocations: 339.8 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.3927, allocations: 33.7 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3927, allocations: 4 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3927, allocations: 0 / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3928, allocations: 31.92 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3928, allocations: 4.062 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.3931, allocations: 51.8 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.3931, allocations: 19.98 kB / 1.335 GB, free: 8.641 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.0001781/0.3933, allocations: 160.1 kB / 1.336 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3933, allocations: 15.91 kB / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/0.3939, allocations: 279.4 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3939, allocations: 8.031 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3939, allocations: 0 / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3939, allocations: 0 / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.3949, allocations: 0.6318 MB / 1.337 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3949, allocations: 0 / 1.337 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.3949, allocations: 15.98 kB / 1.337 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3949, allocations: 8 kB / 1.337 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.395, allocations: 7.984 kB / 1.337 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.395, allocations: 11.94 kB / 1.337 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.395, allocations: 0 / 1.337 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.3955, allocations: 363.3 kB / 1.337 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.3956, allocations: 15.84 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.3956, allocations: 19.98 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3957, allocations: 11.98 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.3958, allocations: 27.95 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.3959, allocations: 19.92 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001199/0.396, allocations: 123.2 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.396, allocations: 0 / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003157/0.3963, allocations: 63.89 kB / 1.337 GB, free: 6.797 MB / 1.029 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.0002016/0.3965, allocations: 125.2 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.397, allocations: 283.2 kB / 1.338 GB, free: 6.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.397, allocations: 0 / 1.338 GB, free: 6.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.3972, allocations: 99.83 kB / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.3977, allocations: 44.03 kB / 1.338 GB, free: 6.234 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.3985, allocations: 393.4 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.3989, allocations: 0.7362 MB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.3989, allocations: 27.42 kB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3989, allocations: 4 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of Templates: time 0.005558/0.4045, allocations: 3.077 MB / 1.342 GB, free: 1.965 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: 11.23297827699571]