Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7836, allocations: 140.3 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002184/0.7858, allocations: 0.7934 MB / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.7873, allocations: 1.126 MB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.7874, allocations: 0 / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.7874, allocations: 3.938 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.685e-05/0.7876, allocations: 13.3 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.7881, allocations: 123.4 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.7883, allocations: 130.6 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.7884, allocations: 9.5 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.961e-05/0.7885, allocations: 45.78 kB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.7886, allocations: 40.08 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.7886, allocations: 13.75 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.7887, allocations: 29.86 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.7887, allocations: 14.67 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.7888, allocations: 34.92 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.789, allocations: 131.1 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.789, allocations: 0 / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.789, allocations: 1.375 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.789, allocations: 0 / 0.9515 GB, free: 7.23 MB / 0.7169 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.0005351/0.7896, allocations: 398.3 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.7896, allocations: 14.22 kB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.7897, allocations: 9.062 kB / 0.9519 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.7898, allocations: 178.1 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.7898, allocations: 6.625 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.7899, allocations: 13.62 kB / 0.9521 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.79, allocations: 41.88 kB / 0.9522 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.79, allocations: 192 / 0.9522 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.79, allocations: 7.922 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.79, allocations: 1.031 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.7901, allocations: 10.97 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.7905, allocations: 326.2 kB / 0.9525 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.463e-05/0.7906, allocations: 38.06 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.7906, allocations: 17.81 kB / 0.9526 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.7906, allocations: 0 / 0.9526 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.7908, allocations: 65.36 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.7908, allocations: 0 / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.791, allocations: 76.78 kB / 0.9527 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.791, allocations: 60.56 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.7911, allocations: 123.1 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.7912, allocations: 27.95 kB / 0.9529 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.7912, allocations: 88.33 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.7913, allocations: 13.19 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.7913, allocations: 37.72 kB / 0.953 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.7914, allocations: 318 kB / 0.9533 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.7915, allocations: 32.83 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.7916, allocations: 59.08 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.7917, allocations: 92.34 kB / 0.9535 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7918, allocations: 4 kB / 0.9535 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002601/0.792, allocations: 165.3 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.7921, allocations: 38.67 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7921, allocations: 1.125 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.7921, allocations: 1.656 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.7922, allocations: 1.5 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7922, allocations: 2.188 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.7924, allocations: 32.05 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.7924, allocations: 8.812 kB / 0.9538 GB, free: 5.035 MB / 0.7169 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 8.024e-05/0.7925, allocations: 123.3 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.7925, allocations: 6.469 kB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.7926, allocations: 13.14 kB / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7926, allocations: 1.25 kB / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7926, allocations: 0 / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7926, allocations: 0 / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.13e-05/0.7927, allocations: 179.9 kB / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7927, allocations: 0 / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.7927, allocations: 10.48 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7927, allocations: 1.25 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.7927, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7927, allocations: 1.312 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7927, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.7928, allocations: 90.62 kB / 0.9542 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.7929, allocations: 83.73 kB / 0.9542 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.7929, allocations: 7.984 kB / 0.9543 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.84e-05/0.7929, allocations: 5.312 kB / 0.9543 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.793, allocations: 5.219 kB / 0.9543 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.793, allocations: 1.312 kB / 0.9543 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.793, allocations: 98.89 kB / 0.9544 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.793, allocations: 1.031 kB / 0.9544 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002193/0.7933, allocations: 19.66 kB / 0.9544 GB, free: 4.379 MB / 0.7169 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.0001873/0.7934, allocations: 104.4 kB / 0.9545 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.7937, allocations: 142.3 kB / 0.9546 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7937, allocations: 3.938 kB / 0.9546 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.7938, allocations: 14.25 kB / 0.9546 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.794, allocations: 20.12 kB / 0.9546 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.7943, allocations: 160.7 kB / 0.9548 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.7945, allocations: 0.6862 MB / 0.9555 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.7945, allocations: 10.81 kB / 0.9555 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.7946, allocations: 10.28 kB / 0.9555 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7946, allocations: 0 / 0.9555 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.003931/0.7985, allocations: 1.334 MB / 0.9568 GB, free: 2.617 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches