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.001706/0.001706, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002119/0.002119, allocations: 220 kB / 22.24 MB, free: 5.109 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.82 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.561/3.561, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [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.002405/0.002405, allocations: 70.27 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3807, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002367/0.383, allocations: 0.9202 MB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.3851, allocations: 1.456 MB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.3852, allocations: 4 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.862e-05/0.3853, allocations: 11.81 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.3855, allocations: 59.56 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3866, allocations: 445.8 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.3872, allocations: 491 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3873, allocations: 30.23 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.3876, allocations: 183.6 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.3879, allocations: 151.4 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.388, allocations: 48 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.3881, allocations: 64 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.3882, allocations: 39.84 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.3884, allocations: 151.5 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000695/0.3891, allocations: 0.4984 MB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3891, allocations: 4 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3891, allocations: 0 / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.3891, allocations: 3.938 kB / 1.368 GB, free: 9.613 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.001182/0.3903, allocations: 0.5564 MB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3904, allocations: 12.03 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/0.3904, allocations: 38.73 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3905, allocations: 32.8 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.3908, allocations: 157.3 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.3908, allocations: 24.36 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.3909, allocations: 24.38 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.3912, allocations: 125.6 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3912, allocations: 3.938 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3912, allocations: 0 / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3912, allocations: 4 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.3913, allocations: 55.91 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3925, allocations: 0.75 MB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.3927, allocations: 122.4 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.3928, allocations: 51.42 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3928, allocations: 4 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.3932, allocations: 170.6 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.3932, allocations: 0 / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0005704/0.3938, allocations: 233.4 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3939, allocations: 136.5 kB / 1.37 GB, free: 6.863 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.3941, allocations: 244.8 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.3942, allocations: 37.7 kB / 1.371 GB, free: 6.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3943, allocations: 136.5 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3944, allocations: 31.78 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.3945, allocations: 93.66 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3947, allocations: 330.8 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.3951, allocations: 271 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.3955, allocations: 354.4 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.396, allocations: 372.9 kB / 1.372 GB, free: 4.848 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.396, allocations: 0 / 1.372 GB, free: 4.848 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001117/0.3971, allocations: 0.6824 MB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.3973, allocations: 134.8 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3973, allocations: 4.25 kB / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3973, allocations: 8 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.3974, allocations: 19.92 kB / 1.373 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3974, allocations: 4 kB / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.3981, allocations: 111.7 kB / 1.373 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.3981, allocations: 35.97 kB / 1.373 GB, free: 3.773 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.0001823/0.3983, allocations: 149.7 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3983, allocations: 16.84 kB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.3984, allocations: 25.33 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3984, allocations: 3.938 kB / 1.373 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3984, allocations: 4 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3984, allocations: 3.938 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3987, allocations: 216.6 kB / 1.373 GB, free: 3.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3987, allocations: 4 kB / 1.373 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.3987, allocations: 11.94 kB / 1.373 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3987, allocations: 7.938 kB / 1.373 GB, free: 3.281 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3987, allocations: 4 kB / 1.373 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3987, allocations: 4 kB / 1.373 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.3987, allocations: 3.984 kB / 1.373 GB, free: 3.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.3991, allocations: 225.8 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.3991, allocations: 19.89 kB / 1.374 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.3991, allocations: 4 kB / 1.374 GB, free: 3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.3992, allocations: 4 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.3992, allocations: 23.84 kB / 1.374 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3993, allocations: 12 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001801/0.3994, allocations: 168.5 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3994, allocations: 0 / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003414/0.3998, allocations: 71.95 kB / 1.374 GB, free: 2.723 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.0007369/0.4005, allocations: 0.7596 MB / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008253/0.4013, allocations: 0.5943 MB / 1.375 GB, free: 1.258 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4014, allocations: 4.062 kB / 1.375 GB, free: 1.254 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.4015, allocations: 59.91 kB / 1.375 GB, free: 1.195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.4019, allocations: 76.12 kB / 1.375 GB, free: 1.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/0.4069, allocations: 3.547 MB / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.407, allocations: 120.9 kB / 1.379 GB, free: 13.15 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.028e-05/0.4071, allocations: 18.39 kB / 1.379 GB, free: 13.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/0.4072, allocations: 55.41 kB / 1.379 GB, free: 13.08 MB / 1.076 GB Notification: Performance of SimCode: time 7.11e-07/0.4072, allocations: 0 / 1.379 GB, free: 13.08 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.4448, allocations: 7.542 MB / 1.386 GB, free: 5.777 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.12, allocations: 2.578 kB / 1.386 GB, free: 5.777 MB / 1.076 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv","/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] "Error: Could not read variable pul.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul2.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul2.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul3.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul3.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.39965359400958]