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.001334/0.001334, allocations: 99.64 kB / 18.95 MB, free: 2.668 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: 209.1 kB / 22.24 MB, free: 5.262 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: 7.777 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.295/3.295, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002152/0.002152, allocations: 71.94 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3736, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002166/0.3757, allocations: 0.9295 MB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3777, allocations: 1.452 MB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.3778, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.3779, allocations: 15.75 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.378, allocations: 59.56 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.3792, allocations: 444.7 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005845/0.3797, allocations: 491.1 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3799, allocations: 34.22 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.3801, allocations: 179.6 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.3804, allocations: 151.4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.3804, allocations: 52 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3806, allocations: 63.98 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.3806, allocations: 35.84 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3808, allocations: 155.5 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.3814, allocations: 0.4946 MB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3814, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3814, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3814, allocations: 0 / 1.368 GB, free: 9.562 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008667/0.3823, allocations: 0.5586 MB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3823, allocations: 8.031 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.3824, allocations: 42.69 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3825, allocations: 32.8 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.3827, allocations: 173.2 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.3827, allocations: 12.38 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.3828, allocations: 24.38 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.383, allocations: 124.4 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.383, allocations: 3.938 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.383, allocations: 11.98 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.383, allocations: 0 / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3832, allocations: 51.92 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.3842, allocations: 0.7539 MB / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3843, allocations: 114.4 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.3844, allocations: 55.48 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3844, allocations: 0 / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.3848, allocations: 174.6 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 3.367e-06/0.3848, allocations: 3.984 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.000499/0.3853, allocations: 233.3 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3854, allocations: 136.5 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.3857, allocations: 248.8 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.3857, allocations: 37.7 kB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3859, allocations: 124.5 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.3859, allocations: 43.78 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.3861, allocations: 85.66 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3863, allocations: 338.8 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.3867, allocations: 274.9 kB / 1.371 GB, free: 5.609 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.3871, allocations: 349.5 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.3876, allocations: 372.9 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3876, allocations: 4 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001039/0.3886, allocations: 0.6862 MB / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.3888, allocations: 141.2 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3888, allocations: 4 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3888, allocations: 4.25 kB / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.3889, allocations: 12 kB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3889, allocations: 7.938 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.3895, allocations: 115.7 kB / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.3896, allocations: 31.97 kB / 1.373 GB, free: 3.703 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.0001822/0.3897, allocations: 145.8 kB / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3898, allocations: 23.84 kB / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.3898, allocations: 21.33 kB / 1.373 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3898, allocations: 4 kB / 1.373 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3899, allocations: 0 / 1.373 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.3899, allocations: 7.938 kB / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.3901, allocations: 212.6 kB / 1.373 GB, free: 3.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3902, allocations: 4 kB / 1.373 GB, free: 3.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.3902, allocations: 12 kB / 1.373 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3902, allocations: 0 / 1.373 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3902, allocations: 7.984 kB / 1.373 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3902, allocations: 4 kB / 1.373 GB, free: 3.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3902, allocations: 4 kB / 1.373 GB, free: 3.207 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.3906, allocations: 224.3 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.3906, allocations: 23.83 kB / 1.374 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.3906, allocations: 4 kB / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.3907, allocations: 4 kB / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.3907, allocations: 19.91 kB / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.3908, allocations: 12 kB / 1.374 GB, free: 2.898 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001875/0.3909, allocations: 168.5 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3909, allocations: 0 / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000339/0.3913, allocations: 67.95 kB / 1.374 GB, free: 2.664 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.0007594/0.392, allocations: 0.7614 MB / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008873/0.3929, allocations: 0.6055 MB / 1.375 GB, free: 1.188 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3929, allocations: 0.5 kB / 1.375 GB, free: 1.188 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.393, allocations: 59.92 kB / 1.375 GB, free: 1.129 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.3935, allocations: 73.89 kB / 1.375 GB, free: 1.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.3983, allocations: 3.54 MB / 1.379 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3984, allocations: 120.9 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.393e-05/0.3985, allocations: 21.64 kB / 1.379 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3986, allocations: 55.42 kB / 1.379 GB, free: 13.02 MB / 1.076 GB Notification: Performance of SimCode: time 1.273e-06/0.3986, allocations: 0 / 1.379 GB, free: 13.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/0.437, allocations: 7.529 MB / 1.386 GB, free: 5.723 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.94, allocations: 13.25 kB / 1.386 GB, free: 5.715 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.884673255030066]