Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001542/0.001542, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001714/0.001714, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.316/3.316, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [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.002173/0.002173, allocations: 67.34 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4033, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002428/0.4057, allocations: 0.9243 MB / 1.366 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.4076, allocations: 1.456 MB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.4077, allocations: 0 / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.771e-05/0.4078, allocations: 15.75 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.4079, allocations: 63.58 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.409, allocations: 444.8 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.4095, allocations: 491.1 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4096, allocations: 29.95 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.4099, allocations: 191.5 kB / 1.368 GB, free: 9.996 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.4101, allocations: 143.4 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.4102, allocations: 52 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4103, allocations: 63.97 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.4104, allocations: 35.86 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.4105, allocations: 151.5 kB / 1.369 GB, free: 9.559 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.4111, allocations: 0.4907 MB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4111, allocations: 0 / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4111, allocations: 0 / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.4111, allocations: 0 / 1.369 GB, free: 9.066 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008779/0.412, allocations: 0.5625 MB / 1.37 GB, free: 8.445 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.412, allocations: 8.031 kB / 1.37 GB, free: 8.438 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.4121, allocations: 36.8 kB / 1.37 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.4123, allocations: 173.2 kB / 1.37 GB, free: 8.207 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.4124, allocations: 16.38 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.4124, allocations: 20.36 kB / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.4126, allocations: 125.6 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4127, allocations: 192 / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.4127, allocations: 3.938 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4127, allocations: 4 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.4128, allocations: 55.91 kB / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009368/0.4137, allocations: 0.7271 MB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4139, allocations: 114.4 kB / 1.371 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/0.414, allocations: 47.48 kB / 1.371 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.414, allocations: 4 kB / 1.371 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.4143, allocations: 182.6 kB / 1.371 GB, free: 6.785 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.4143, allocations: 0 / 1.371 GB, free: 6.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004702/0.4148, allocations: 229.4 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.4149, allocations: 136.5 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.4151, allocations: 240.8 kB / 1.372 GB, free: 6.145 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.4152, allocations: 37.7 kB / 1.372 GB, free: 6.102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4153, allocations: 128.5 kB / 1.372 GB, free: 5.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.4154, allocations: 31.8 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.4155, allocations: 93.64 kB / 1.372 GB, free: 5.844 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4157, allocations: 338.7 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.4161, allocations: 278.9 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.4165, allocations: 353.4 kB / 1.373 GB, free: 4.797 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.417, allocations: 376.9 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.417, allocations: 0 / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001017/0.418, allocations: 0.6904 MB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.4181, allocations: 134.8 kB / 1.374 GB, free: 3.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4181, allocations: 4 kB / 1.374 GB, free: 3.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4181, allocations: 4 kB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.4182, allocations: 8 kB / 1.374 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.4182, allocations: 11.92 kB / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.4188, allocations: 115.8 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.4189, allocations: 27.98 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001689/0.4191, allocations: 151.7 kB / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.4191, allocations: 23.84 kB / 1.374 GB, free: 3.117 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.4192, allocations: 17.34 kB / 1.374 GB, free: 3.094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.4192, allocations: 7.984 kB / 1.374 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4192, allocations: 4 kB / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4192, allocations: 0 / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.4194, allocations: 189.1 kB / 1.375 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4194, allocations: 4 kB / 1.375 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.4194, allocations: 8 kB / 1.375 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4194, allocations: 7.984 kB / 1.375 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4195, allocations: 4 kB / 1.375 GB, free: 2.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4195, allocations: 4 kB / 1.375 GB, free: 2.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4195, allocations: 0 / 1.375 GB, free: 2.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.4198, allocations: 230 kB / 1.375 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.4198, allocations: 19.89 kB / 1.375 GB, free: 2.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.4198, allocations: 8 kB / 1.375 GB, free: 2.562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.4199, allocations: 4 kB / 1.375 GB, free: 2.559 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4199, allocations: 15.97 kB / 1.375 GB, free: 2.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.42, allocations: 8 kB / 1.375 GB, free: 2.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001659/0.4201, allocations: 172.4 kB / 1.375 GB, free: 2.363 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4201, allocations: 0 / 1.375 GB, free: 2.363 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003319/0.4205, allocations: 71.95 kB / 1.375 GB, free: 2.293 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001736/0.4206, allocations: 115 kB / 1.375 GB, free: 2.172 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008148/0.4214, allocations: 0.6056 MB / 1.376 GB, free: 1.492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4214, allocations: 0 / 1.376 GB, free: 1.492 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.4216, allocations: 79.89 kB / 1.376 GB, free: 1.414 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.422, allocations: 64.81 kB / 1.376 GB, free: 1.352 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.4227, allocations: 376.4 kB / 1.376 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.4228, allocations: 128.9 kB / 1.376 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.4228, allocations: 19.44 kB / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4228, allocations: 0 / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of Templates: time 0.006308/0.4291, allocations: 3.552 MB / 1.38 GB, free: 13.27 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.490944023244083]