Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001763/0.001763, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001589/0.001589, allocations: 218.2 kB / 22.25 MB, free: 5.258 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.489/1.489, 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 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.21/3.21, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_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_12_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.00207/0.00207, allocations: 69.95 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3833, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002375/0.3856, allocations: 0.9171 MB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3877, allocations: 1.451 MB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.3877, allocations: 4 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.3878, allocations: 15.75 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.3879, allocations: 63.56 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.389, allocations: 443.7 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.3895, allocations: 491.1 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.3897, allocations: 25.95 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.3899, allocations: 191.6 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.3902, allocations: 167.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.3902, allocations: 48 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3904, allocations: 63.98 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.3904, allocations: 35.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.3906, allocations: 147.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.3911, allocations: 0.5026 MB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3911, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3911, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3912, allocations: 3.938 kB / 1.33 GB, free: 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008182/0.392, allocations: 0.5681 MB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.392, allocations: 12.03 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.3921, allocations: 34.75 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.3921, allocations: 28.84 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.3923, allocations: 177.1 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.3924, allocations: 16.38 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.3924, allocations: 24.38 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3926, allocations: 116.2 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3926, allocations: 3.938 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3926, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.3926, allocations: 7.984 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3928, allocations: 55.91 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009291/0.3937, allocations: 0.7578 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.3938, allocations: 118.4 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.3939, allocations: 47.48 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3939, allocations: 4 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.3942, allocations: 174.7 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.3942, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004705/0.3947, allocations: 233.4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.3947, allocations: 136.5 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.395, allocations: 244.8 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.3951, allocations: 33.7 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3952, allocations: 132.5 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3952, allocations: 35.78 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.3954, allocations: 89.66 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3955, allocations: 334.8 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.3959, allocations: 275 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.3963, allocations: 357.4 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.3968, allocations: 361 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3968, allocations: 0 / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001009/0.3978, allocations: 0.698 MB / 1.335 GB, free: 7.461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.3979, allocations: 130.8 kB / 1.335 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3979, allocations: 7.984 kB / 1.335 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3979, allocations: 7.984 kB / 1.335 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.398, allocations: 11.94 kB / 1.335 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.398, allocations: 4 kB / 1.335 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.3987, allocations: 116 kB / 1.335 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.3987, allocations: 35.91 kB / 1.335 GB, free: 7.129 MB / 1.029 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.0001622/0.3989, allocations: 146.2 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.3989, allocations: 19.86 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.399, allocations: 29.33 kB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.399, allocations: 4 kB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.399, allocations: 0 / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.399, allocations: 3.938 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3992, allocations: 212.7 kB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3992, allocations: 0 / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.543e-05/0.3993, allocations: 11.94 kB / 1.336 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3993, allocations: 4.938 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3993, allocations: 3.984 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3993, allocations: 4 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3993, allocations: 0 / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.3996, allocations: 231.3 kB / 1.336 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.3996, allocations: 19.84 kB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.3997, allocations: 8 kB / 1.336 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.405e-05/0.3997, allocations: 4 kB / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3998, allocations: 27.89 kB / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3998, allocations: 4 kB / 1.336 GB, free: 6.324 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001592/0.3999, allocations: 172.5 kB / 1.336 GB, free: 6.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3999, allocations: 0 / 1.336 GB, free: 6.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003202/0.4003, allocations: 67.94 kB / 1.336 GB, free: 6.094 MB / 1.029 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.0006475/0.4009, allocations: 0.7693 MB / 1.337 GB, free: 5.289 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007541/0.4017, allocations: 0.6017 MB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4017, allocations: 0 / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4018, allocations: 59.91 kB / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4022, allocations: 72.69 kB / 1.338 GB, free: 4.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.4066, allocations: 3.529 MB / 1.341 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.4067, allocations: 120.9 kB / 1.341 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.156e-05/0.4068, allocations: 21.62 kB / 1.341 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/0.4069, allocations: 59.42 kB / 1.342 GB, free: 460 kB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4069, allocations: 4 kB / 1.342 GB, free: 456 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.4421, allocations: 7.572 MB / 1.349 GB, free: 9.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.91, allocations: 3.25 kB / 1.349 GB, free: 9.125 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul2.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul2.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul3.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul3.y from file Buildings_12_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.903796417987905]