Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001822/0.001822, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001436/0.001436, allocations: 219.1 kB / 22.25 MB, free: 5.117 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8 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.447/3.447, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.002233/0.002233, allocations: 70.16 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3872, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002168/0.3894, allocations: 0.7168 MB / 1.354 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3911, allocations: 1.163 MB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.3911, allocations: 8 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.3912, allocations: 7.875 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.193e-05/0.3912, allocations: 15.86 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.3917, allocations: 134.1 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3919, allocations: 123.8 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.392, allocations: 11.98 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.3921, allocations: 47.84 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3922, allocations: 39.89 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3922, allocations: 15.94 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.3923, allocations: 35.97 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.3923, allocations: 4 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.3924, allocations: 39.86 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.3926, allocations: 131.9 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3926, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3926, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3926, allocations: 0 / 1.355 GB, free: 5.934 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005495/0.3931, allocations: 319.8 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3932, allocations: 19.95 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.3932, allocations: 34.69 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.3933, allocations: 12.89 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3934, allocations: 122.4 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3934, allocations: 384 / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3934, allocations: 8.375 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.3935, allocations: 46.19 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3935, allocations: 11.92 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3936, allocations: 0 / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3936, allocations: 0 / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.3936, allocations: 12 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.3941, allocations: 311.7 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.3941, allocations: 26.58 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.3942, allocations: 12.92 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.3942, allocations: 0 / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.3943, allocations: 71.27 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3943, allocations: 4 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002007/0.3945, allocations: 69.69 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3946, allocations: 51.41 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3947, allocations: 129.8 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3947, allocations: 25.7 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3948, allocations: 92.09 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.3948, allocations: 11.95 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.3949, allocations: 29.7 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.395, allocations: 326.8 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.3951, allocations: 35.98 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.3952, allocations: 62.5 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3953, allocations: 88.27 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3953, allocations: 0 / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002868/0.3956, allocations: 167.2 kB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.3957, allocations: 41.69 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3957, allocations: 3.938 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3957, allocations: 0 / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.3958, allocations: 7.938 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3958, allocations: 0 / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.396, allocations: 23.97 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.396, allocations: 7.984 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001054/0.3961, allocations: 129.8 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.3961, allocations: 3.953 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.3961, allocations: 12 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3961, allocations: 0 / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3961, allocations: 0 / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.3961, allocations: 4.219 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.3963, allocations: 144.7 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3963, allocations: 3.938 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.3963, allocations: 3.984 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3963, allocations: 0 / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3963, allocations: 8 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3963, allocations: 0 / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3963, allocations: 0 / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.3964, allocations: 96.94 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.3964, allocations: 7.938 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3965, allocations: 8.062 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.3965, allocations: 0 / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.3965, allocations: 7.984 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3965, allocations: 4 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.3966, allocations: 99.27 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3966, allocations: 0 / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000218/0.3968, allocations: 16 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004729/0.3973, allocations: 0.6396 MB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.3975, allocations: 119.4 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3975, allocations: 0 / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.3976, allocations: 19.92 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.3978, allocations: 19.92 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3995, allocations: 1.5 MB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.3998, allocations: 0.6807 MB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.3998, allocations: 4 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.3999, allocations: 19.42 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3999, allocations: 0 / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.4283, allocations: 2.478 MB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.27, allocations: 15.95 kB / 1.363 GB, free: 13.43 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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: 18.48323685100013]