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.001592/0.001592, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001432/0.001432, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.222/3.222, allocations: 0.49 GB / 0.7916 GB, free: 33.26 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.00201/0.00201, allocations: 70.91 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.384, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002541/0.3866, allocations: 0.9635 MB / 1.322 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.3888, allocations: 1.471 MB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.3889, allocations: 0 / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.66e-05/0.3889, allocations: 15.75 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.3891, allocations: 63.55 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.3903, allocations: 443.4 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.3909, allocations: 491.2 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.391, allocations: 33.66 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.3912, allocations: 183.4 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.3915, allocations: 167.4 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.3916, allocations: 48 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3917, allocations: 67.92 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.3917, allocations: 35.91 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3919, allocations: 171.3 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.3925, allocations: 0.4909 MB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3925, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3925, allocations: 4 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.3925, allocations: 4 kB / 1.325 GB, free: 14.71 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.0009437/0.3934, allocations: 0.6378 MB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.3935, allocations: 11.98 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.3935, allocations: 42.73 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.849e-05/0.3936, allocations: 28.8 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.3939, allocations: 227 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.3939, allocations: 20.36 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.394, allocations: 24.38 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3942, allocations: 120.6 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3942, allocations: 11.88 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3943, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3943, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3944, allocations: 55.97 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.3954, allocations: 0.8795 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3956, allocations: 114.4 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.3957, allocations: 51.48 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.3957, allocations: 0 / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.396, allocations: 174.7 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.396, allocations: 0 / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004867/0.3965, allocations: 229.3 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.3966, allocations: 132.5 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.3968, allocations: 248.8 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.3969, allocations: 37.7 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.397, allocations: 140.4 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.3971, allocations: 27.8 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.3972, allocations: 97.59 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.3974, allocations: 330.8 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.3977, allocations: 148.2 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.3981, allocations: 234.6 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.3986, allocations: 357 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3986, allocations: 4 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001031/0.3997, allocations: 0.5626 MB / 1.33 GB, free: 9.348 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.3998, allocations: 138.8 kB / 1.33 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3998, allocations: 3.938 kB / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.3998, allocations: 4.938 kB / 1.33 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.3999, allocations: 15.98 kB / 1.33 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3999, allocations: 7.938 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/0.4006, allocations: 115.8 kB / 1.33 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.4007, allocations: 27.97 kB / 1.33 GB, free: 9.016 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.0001883/0.4009, allocations: 145.8 kB / 1.331 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.4009, allocations: 19.86 kB / 1.331 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.4009, allocations: 21.23 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.401, allocations: 8 kB / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.401, allocations: 0 / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.401, allocations: 11.92 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.4013, allocations: 261.5 kB / 1.331 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4013, allocations: 4 kB / 1.331 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.4013, allocations: 15.98 kB / 1.331 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4013, allocations: 0 / 1.331 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4013, allocations: 4 kB / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4013, allocations: 0 / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4013, allocations: 4 kB / 1.331 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.4017, allocations: 223.3 kB / 1.331 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.4018, allocations: 105 kB / 1.331 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4018, allocations: 0 / 1.331 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.4018, allocations: 11.94 kB / 1.331 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.4019, allocations: 11.92 kB / 1.331 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.4019, allocations: 19.98 kB / 1.331 GB, free: 8.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001722/0.4021, allocations: 160.5 kB / 1.331 GB, free: 7.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4021, allocations: 0 / 1.331 GB, free: 7.898 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000345/0.4024, allocations: 71.98 kB / 1.331 GB, free: 7.828 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.0007029/0.4031, allocations: 0.7593 MB / 1.332 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007549/0.4039, allocations: 485.3 kB / 1.333 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4039, allocations: 0 / 1.333 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.404, allocations: 56.41 kB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.4044, allocations: 76.25 kB / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.4087, allocations: 3.023 MB / 1.336 GB, free: 3.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4091, allocations: 0.7281 MB / 1.336 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.387e-05/0.4091, allocations: 21.53 kB / 1.336 GB, free: 2.387 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.4093, allocations: 67.34 kB / 1.337 GB, free: 2.32 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/0.4093, allocations: 0 / 1.337 GB, free: 2.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.4413, allocations: 6.418 MB / 1.343 GB, free: 12.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/8.783, allocations: 11.03 kB / 1.343 GB, free: 12.06 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.538947364781052]