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.001729/0.001729, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002318/0.002318, allocations: 211.5 kB / 22.24 MB, free: 5.242 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.805 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.38/3.38, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002079/0.002079, allocations: 67.94 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.393, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002/0.395, allocations: 0.7195 MB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3966, allocations: 1.143 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.3967, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.3967, allocations: 3.938 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.114e-05/0.3968, allocations: 23.84 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.3973, allocations: 127 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.3974, allocations: 127.7 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.3975, allocations: 15.97 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.3976, allocations: 43.92 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3977, allocations: 35.89 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.3978, allocations: 12 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.845e-05/0.3978, allocations: 19.98 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.3979, allocations: 19.86 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.3979, allocations: 35.92 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.3981, allocations: 131.9 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3981, allocations: 3.938 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3981, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3981, allocations: 4 kB / 1.366 GB, free: 11.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005264/0.3987, allocations: 323.8 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3987, allocations: 12.03 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.3987, allocations: 30.75 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3988, allocations: 4.938 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3989, allocations: 110.5 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3989, allocations: 12.36 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.399, allocations: 4.375 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.399, allocations: 47.25 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3991, allocations: 3.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.3991, allocations: 8 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3991, allocations: 0 / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/0.3991, allocations: 8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.3996, allocations: 287.8 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.376e-05/0.3996, allocations: 34.52 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.3997, allocations: 12.91 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.3997, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.3998, allocations: 63.39 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3998, allocations: 0 / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002088/0.4, allocations: 77.58 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4001, allocations: 63.34 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4002, allocations: 129.8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.4002, allocations: 29.7 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.4003, allocations: 88.14 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.4003, allocations: 3.953 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.4004, allocations: 33.69 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4005, allocations: 322.8 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4006, allocations: 73.61 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.4008, allocations: 84.27 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4009, allocations: 100.3 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4009, allocations: 4 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003025/0.4012, allocations: 197 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.4012, allocations: 37.69 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4013, allocations: 4 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4013, allocations: 0 / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.4013, allocations: 4 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4013, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.4015, allocations: 28.27 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4015, allocations: 7.984 kB / 1.368 GB, free: 9.133 MB / 1.061 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.0001053/0.4016, allocations: 121.8 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.4016, allocations: 7.938 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.4017, allocations: 12 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4017, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4017, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4017, allocations: 3.984 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.4018, allocations: 140.7 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4018, allocations: 3.938 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.4018, allocations: 4 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4018, allocations: 4 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.4018, allocations: 0 / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4018, allocations: 3.984 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4018, allocations: 0 / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.402, allocations: 93.02 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.402, allocations: 7.891 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.402, allocations: 4 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.402, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.402, allocations: 7.984 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.402, allocations: 4 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.867e-05/0.4021, allocations: 107.2 kB / 1.368 GB, free: 8.535 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4021, allocations: 0 / 1.368 GB, free: 8.535 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002076/0.4023, allocations: 19.94 kB / 1.368 GB, free: 8.516 MB / 1.061 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.0004917/0.4028, allocations: 0.6319 MB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.4031, allocations: 157 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4031, allocations: 0 / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.4031, allocations: 15.98 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.4033, allocations: 16.11 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.4051, allocations: 1.631 MB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.4052, allocations: 75.33 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.4052, allocations: 4 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.4053, allocations: 15.42 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4053, allocations: 0 / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.4344, allocations: 3.022 MB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.05, allocations: 5.656 kB / 1.374 GB, free: 2.922 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.18332900898531]