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.001306/0.001306, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.001473/0.001473, allocations: 212.2 kB / 22.25 MB, free: 5.082 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 8.023 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.395/3.395, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.0021/0.0021, allocations: 63.86 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4043, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002263/0.4066, allocations: 0.9645 MB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.4087, allocations: 1.475 MB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.4088, allocations: 0 / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.4089, allocations: 19.73 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.409, allocations: 59.56 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.4102, allocations: 447 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.4109, allocations: 491.1 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.411, allocations: 34.22 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.4112, allocations: 179.6 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.4115, allocations: 167.4 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.4116, allocations: 52 kB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4117, allocations: 67.98 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.4118, allocations: 43.78 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.412, allocations: 171.5 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.4126, allocations: 494.5 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4126, allocations: 4 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4126, allocations: 3.938 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4126, allocations: 0 / 1.357 GB, free: 3.836 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008258/0.4134, allocations: 0.5663 MB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4135, allocations: 8.031 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.4135, allocations: 38.73 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.4136, allocations: 36.8 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.4138, allocations: 165.2 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.4138, allocations: 12.38 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.4139, allocations: 28.36 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.4141, allocations: 125.6 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4141, allocations: 3.938 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4141, allocations: 0 / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4141, allocations: 8 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.4142, allocations: 59.91 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.4153, allocations: 0.8357 MB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.4155, allocations: 119 kB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.21e-05/0.4155, allocations: 51.48 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4156, allocations: 7.938 kB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.4159, allocations: 172.9 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.4159, allocations: 4 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0004889/0.4164, allocations: 217.5 kB / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.4165, allocations: 144.4 kB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.4168, allocations: 248.8 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.4169, allocations: 37.7 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.417, allocations: 132.5 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.417, allocations: 31.8 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.4172, allocations: 93.64 kB / 1.36 GB, free: 440 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4173, allocations: 326.8 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.4176, allocations: 152.2 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.418, allocations: 225.7 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.4185, allocations: 368.9 kB / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4185, allocations: 7.938 kB / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000937/0.4194, allocations: 0.5585 MB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.4195, allocations: 134.8 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4195, allocations: 4 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4195, allocations: 4 kB / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4196, allocations: 15.92 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4196, allocations: 4.25 kB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/0.4203, allocations: 115.7 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/0.4203, allocations: 31.97 kB / 1.362 GB, free: 14.35 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.0001788/0.4205, allocations: 155.2 kB / 1.362 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.4205, allocations: 19.86 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.4206, allocations: 25.33 kB / 1.362 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4206, allocations: 4 kB / 1.362 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4206, allocations: 4 kB / 1.362 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4206, allocations: 3.938 kB / 1.362 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.4209, allocations: 228.6 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4209, allocations: 0 / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.4209, allocations: 15.98 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4209, allocations: 8 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4209, allocations: 3.984 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.4209, allocations: 7.938 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4209, allocations: 0 / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.4212, allocations: 219.4 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.4213, allocations: 27.84 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.4213, allocations: 4 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.4214, allocations: 4 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.4214, allocations: 27.84 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4214, allocations: 4 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001623/0.4216, allocations: 168.5 kB / 1.363 GB, free: 13.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4216, allocations: 0 / 1.363 GB, free: 13.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003395/0.4219, allocations: 68 kB / 1.363 GB, free: 13.28 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.0006642/0.4226, allocations: 0.7595 MB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000751/0.4234, allocations: 494.8 kB / 1.364 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4234, allocations: 0 / 1.364 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.4235, allocations: 51.92 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.424, allocations: 72.62 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.4284, allocations: 3.022 MB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.4288, allocations: 0.7281 MB / 1.368 GB, free: 7.859 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.165e-05/0.4288, allocations: 18.39 kB / 1.368 GB, free: 7.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.4289, allocations: 67.41 kB / 1.368 GB, free: 7.773 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4289, allocations: 0 / 1.368 GB, free: 7.773 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.4739, allocations: 6.582 MB / 1.375 GB, free: 1.367 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.44, allocations: 6.766 kB / 1.375 GB, free: 1.363 MB / 1.061 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: 18.635932596000202]