Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007922/0.0007922, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001804, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006981/0.0006981, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008329/0.001531, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9845/0.9845, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.086, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.898/1.898, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4925/2.39, allocations: 123.3 MB / 0.7281 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.584e-05, allocations: 6.781 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001625/0.001641, allocations: 0.7663 MB / 0.7301 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.002942, allocations: 1.181 MB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.002979, allocations: 2.031 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.003002, allocations: 3.938 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.003056, allocations: 20.08 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.003389, allocations: 123.6 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.003581, allocations: 129.6 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.008e-05/0.003651, allocations: 5.406 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.003777, allocations: 80.33 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.00387, allocations: 34.12 kB / 0.7317 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.003896, allocations: 16 kB / 0.7317 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.003971, allocations: 18.38 kB / 0.7317 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.003992, allocations: 14.28 kB / 0.7317 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.004036, allocations: 23.94 kB / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.004195, allocations: 83.75 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.00421, allocations: 0.8125 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004211, allocations: 0 / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.004228, allocations: 0 / 0.7318 GB, free: 2.039 MB / 0.698 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.0004575/0.004685, allocations: 306.6 kB / 0.7321 GB, free: 1.707 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.004717, allocations: 13.16 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.004756, allocations: 8.922 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.004851, allocations: 113.7 kB / 0.7322 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.004872, allocations: 5.094 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.004888, allocations: 4.375 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.834e-05/0.004966, allocations: 55.47 kB / 0.7323 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004973, allocations: 5.062 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.00498, allocations: 4.375 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.004988, allocations: 4.359 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.005011, allocations: 8.812 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.005265, allocations: 160.3 kB / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.005319, allocations: 36.03 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.005335, allocations: 12.8 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.005341, allocations: 64 / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.017e-05/0.005431, allocations: 56.05 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.005432, allocations: 0.6875 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001189/0.005551, allocations: 57.61 kB / 0.7326 GB, free: 1.102 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.005585, allocations: 56.97 kB / 0.7327 GB, free: 1.035 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.005665, allocations: 130.6 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.005686, allocations: 33.69 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.00573, allocations: 92.03 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.005744, allocations: 8.562 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.005799, allocations: 29.7 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.005887, allocations: 320 kB / 0.7333 GB, free: 408 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.005948, allocations: 53.69 kB / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.006012, allocations: 72.25 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.006096, allocations: 81.05 kB / 0.7335 GB, free: 164 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.006099, allocations: 0.625 kB / 0.7335 GB, free: 164 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001746/0.006273, allocations: 153.7 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.006312, allocations: 39.45 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006317, allocations: 0 / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.006327, allocations: 3.938 kB / 0.7336 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-05/0.006367, allocations: 4 kB / 0.7336 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.00637, allocations: 0 / 0.7336 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.006486, allocations: 24.52 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.006498, allocations: 1 kB / 0.7337 GB, free: 15.92 MB / 0.7136 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 7.033e-05/0.006569, allocations: 122.3 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.006579, allocations: 3.984 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.006602, allocations: 12.62 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.006605, allocations: 5.031 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006607, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.00661, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.438e-05/0.006684, allocations: 77.81 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.006685, allocations: 0.875 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.006699, allocations: 4 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.00671, allocations: 9.203 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006711, allocations: 0 / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.006718, allocations: 8.047 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.00672, allocations: 4.969 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006721, allocations: 0 / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.005e-05/0.006791, allocations: 65.12 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.006801, allocations: 0.5625 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.00682, allocations: 7.984 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.006841, allocations: 10 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.006844, allocations: 0 / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.563e-05/0.00687, allocations: 20.78 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.00687, allocations: 0 / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001844/0.007055, allocations: 29.09 kB / 0.734 GB, free: 15.5 MB / 0.7136 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.0001042/0.007159, allocations: 88.39 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.007316, allocations: 138.7 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.007319, allocations: 0.5625 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.007339, allocations: 16.8 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.007456, allocations: 18.59 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.007923, allocations: 149.5 kB / 0.7344 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.007958, allocations: 59.34 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.00798, allocations: 0 / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.008069, allocations: 76.38 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.00807, allocations: 0 / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.00369/0.01176, allocations: 1.674 MB / 0.7362 GB, free: 13.31 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.966850880533457]