Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001743/0.001743, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002126/0.002126, allocations: 164.8 kB / 22.46 MB, free: 5.359 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.514/1.514, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.922/2.922, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.56e-06/5.56e-06, allocations: 4 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.972e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002039/0.002079, allocations: 0.7131 MB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.003903, allocations: 1.151 MB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.003948, allocations: 0 / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.003979, allocations: 7.938 kB / 0.9529 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.004057, allocations: 7.875 kB / 0.9529 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.004556, allocations: 135.8 kB / 0.953 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.004754, allocations: 131.7 kB / 0.9531 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.004844, allocations: 0 / 0.9531 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004976, allocations: 67.89 kB / 0.9532 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.005085, allocations: 35.88 kB / 0.9532 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.005116, allocations: 16 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.005189, allocations: 27.92 kB / 0.9533 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.005211, allocations: 8 kB / 0.9533 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.005277, allocations: 35.91 kB / 0.9533 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.005511, allocations: 143.7 kB / 0.9534 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.005514, allocations: 7.938 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/0.005516, allocations: 4 kB / 0.9534 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.005525, allocations: 0 / 0.9534 GB, free: 9.051 MB / 0.8575 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.0005534/0.006078, allocations: 319.9 kB / 0.9538 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.00612, allocations: 12.03 kB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.006171, allocations: 8.891 kB / 0.9538 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.006332, allocations: 121.7 kB / 0.9539 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.006351, allocations: 384 / 0.9539 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.006381, allocations: 16.3 kB / 0.9539 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.00649, allocations: 42.25 kB / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.006499, allocations: 4.188 kB / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.006509, allocations: 384 / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.006515, allocations: 4.359 kB / 0.954 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.006564, allocations: 19.94 kB / 0.954 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.006989, allocations: 244.6 kB / 0.9542 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.348e-05/0.007073, allocations: 34.52 kB / 0.9542 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.007106, allocations: 8.922 kB / 0.9542 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.007116, allocations: 3.938 kB / 0.9543 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.007249, allocations: 75.3 kB / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.007251, allocations: 0 / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002286/0.007479, allocations: 81.58 kB / 0.9544 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.007533, allocations: 55.41 kB / 0.9545 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.007668, allocations: 129.8 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.0077, allocations: 29.7 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.007789, allocations: 92.09 kB / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.007802, allocations: 3.953 kB / 0.9547 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.007871, allocations: 29.7 kB / 0.9547 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.008029, allocations: 322.8 kB / 0.955 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.008146, allocations: 65.69 kB / 0.9551 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.008284, allocations: 92.19 kB / 0.9552 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.008419, allocations: 96.2 kB / 0.9553 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008421, allocations: 0 / 0.9553 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003321/0.008753, allocations: 201 kB / 0.9555 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.008806, allocations: 37.62 kB / 0.9555 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.008815, allocations: 8 kB / 0.9555 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.008832, allocations: 0 / 0.9555 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.008888, allocations: 8 kB / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.008892, allocations: 0 / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.009091, allocations: 31.97 kB / 0.9555 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.009114, allocations: 7.984 kB / 0.9556 GB, free: 6.652 MB / 0.8575 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 9.988e-05/0.009214, allocations: 117.8 kB / 0.9557 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.00923, allocations: 11.83 kB / 0.9557 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.009257, allocations: 8 kB / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.009258, allocations: 0 / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.009263, allocations: 0 / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009265, allocations: 0 / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.00939, allocations: 117.3 kB / 0.9558 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.009394, allocations: 8 kB / 0.9558 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.009408, allocations: 0 / 0.9558 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.00941, allocations: 0 / 0.9558 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.00942, allocations: 3.938 kB / 0.9558 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.009423, allocations: 4 kB / 0.9558 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009424, allocations: 0 / 0.9558 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.009569, allocations: 89.11 kB / 0.9559 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.009581, allocations: 3.953 kB / 0.9559 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.009597, allocations: 7.875 kB / 0.9559 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.842e-05/0.009616, allocations: 0 / 0.9559 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.009647, allocations: 8.281 kB / 0.9559 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.009654, allocations: 11.92 kB / 0.9559 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.009726, allocations: 95.27 kB / 0.956 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009726, allocations: 0 / 0.956 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002191/0.009945, allocations: 20 kB / 0.956 GB, free: 6.094 MB / 0.8575 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.0001977/0.01014, allocations: 103.2 kB / 0.9561 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.01041, allocations: 157 kB / 0.9563 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01041, allocations: 0 / 0.9563 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.01045, allocations: 15.94 kB / 0.9563 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.0107, allocations: 28.17 kB / 0.9563 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.01106, allocations: 156.7 kB / 0.9565 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.335e-05/0.01113, allocations: 65.41 kB / 0.9565 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.01115, allocations: 4 kB / 0.9565 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.01118, allocations: 12.5 kB / 0.9566 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.01118, allocations: 0 / 0.9566 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of Templates: time 0.004649/0.01583, allocations: 1.479 MB / 0.958 GB, free: 4.051 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.367024175822735]