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.001742/0.001742, allocations: 111 kB / 16.46 MB, free: 6.453 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.00208/0.00208, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.559/1.559, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.42/3.42, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.002216/0.002216, allocations: 71 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3633, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002334/0.3656, allocations: 0.9684 MB / 1.349 GB, free: 9.031 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.3677, allocations: 1.467 MB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.3678, allocations: 0 / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.3678, allocations: 19.73 kB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.368, allocations: 55.58 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.369, allocations: 446.2 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005835/0.3696, allocations: 495.1 kB / 1.351 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3698, allocations: 33.66 kB / 1.351 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.37, allocations: 175.6 kB / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.3702, allocations: 171.3 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.507e-05/0.3703, allocations: 52 kB / 1.352 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3704, allocations: 67.98 kB / 1.352 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.3705, allocations: 39.84 kB / 1.352 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.3706, allocations: 167.4 kB / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.3712, allocations: 0.4909 MB / 1.352 GB, free: 5.379 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3712, allocations: 4 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3712, allocations: 0 / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3712, allocations: 3.938 kB / 1.352 GB, free: 5.371 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.0008987/0.3721, allocations: 0.6377 MB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3722, allocations: 15.97 kB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.3722, allocations: 38.75 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.3723, allocations: 28.8 kB / 1.353 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.3725, allocations: 227.1 kB / 1.353 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.3726, allocations: 12.38 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.3726, allocations: 32.36 kB / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3728, allocations: 123.7 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3728, allocations: 3.938 kB / 1.353 GB, free: 4.125 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3729, allocations: 4 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.3729, allocations: 4 kB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.373, allocations: 55.91 kB / 1.353 GB, free: 4.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.374, allocations: 0.8757 MB / 1.354 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3742, allocations: 111 kB / 1.354 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.3743, allocations: 51.48 kB / 1.354 GB, free: 2.918 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3743, allocations: 3.938 kB / 1.354 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.3746, allocations: 178.6 kB / 1.355 GB, free: 2.715 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.3746, allocations: 0 / 1.355 GB, free: 2.715 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0004863/0.3751, allocations: 221.5 kB / 1.355 GB, free: 2.492 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3752, allocations: 140.5 kB / 1.355 GB, free: 2.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.3755, allocations: 244.8 kB / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.3755, allocations: 41.7 kB / 1.355 GB, free: 2.027 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3757, allocations: 132.5 kB / 1.355 GB, free: 1.895 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3757, allocations: 31.8 kB / 1.355 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.3759, allocations: 93.64 kB / 1.355 GB, free: 1.766 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3761, allocations: 326.8 kB / 1.356 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.3764, allocations: 148.2 kB / 1.356 GB, free: 1.289 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.3768, allocations: 230.6 kB / 1.356 GB, free: 1.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.3773, allocations: 364.9 kB / 1.356 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3773, allocations: 7.938 kB / 1.356 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00102/0.3783, allocations: 0.5625 MB / 1.357 GB, free: 8 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.3785, allocations: 134.8 kB / 1.357 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3785, allocations: 4 kB / 1.357 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3785, allocations: 4 kB / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.3786, allocations: 19.92 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3786, allocations: 4 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.3793, allocations: 111.9 kB / 1.357 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.3794, allocations: 32.91 kB / 1.357 GB, free: 15.68 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.0002176/0.3796, allocations: 149.7 kB / 1.357 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.3796, allocations: 19.86 kB / 1.358 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.3797, allocations: 29.23 kB / 1.358 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3797, allocations: 0 / 1.358 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3797, allocations: 4 kB / 1.358 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3797, allocations: 3.938 kB / 1.358 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.38, allocations: 257.5 kB / 1.358 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.38, allocations: 3.984 kB / 1.358 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.38, allocations: 11.98 kB / 1.358 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.38, allocations: 0 / 1.358 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.38, allocations: 4 kB / 1.358 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.38, allocations: 7.938 kB / 1.358 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.38, allocations: 0 / 1.358 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.3804, allocations: 221.2 kB / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.3804, allocations: 105 kB / 1.358 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3805, allocations: 8 kB / 1.358 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.3805, allocations: 4 kB / 1.358 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.3806, allocations: 27.86 kB / 1.358 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3806, allocations: 7.984 kB / 1.358 GB, free: 14.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000195/0.3808, allocations: 168.5 kB / 1.358 GB, free: 14.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3808, allocations: 0 / 1.358 GB, free: 14.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003478/0.3811, allocations: 67.98 kB / 1.358 GB, free: 14.49 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.0007103/0.3819, allocations: 0.7632 MB / 1.359 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007388/0.3826, allocations: 485.4 kB / 1.36 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3826, allocations: 0 / 1.36 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3827, allocations: 56.42 kB / 1.36 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.3832, allocations: 70.14 kB / 1.36 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.3874, allocations: 3.029 MB / 1.363 GB, free: 9.824 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3878, allocations: 0.7281 MB / 1.363 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.55e-05/0.3879, allocations: 21.53 kB / 1.363 GB, free: 9.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.388, allocations: 59.41 kB / 1.363 GB, free: 8.992 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.388, allocations: 0 / 1.363 GB, free: 8.992 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.4206, allocations: 6.428 MB / 1.37 GB, free: 2.746 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.77, allocations: 3.75 kB / 1.37 GB, free: 2.742 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.984658651053905]