Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002509/0.002509, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.003134/0.003134, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.458/3.458, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8775 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.106e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002005/0.002036, allocations: 0.7284 MB / 0.8782 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.003913, allocations: 1.155 MB / 0.8793 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.003963, allocations: 0 / 0.8793 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.003995, allocations: 3.938 kB / 0.8793 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.004108, allocations: 15.17 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.004609, allocations: 128.4 kB / 0.8795 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.00483, allocations: 132.8 kB / 0.8796 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004933, allocations: 8 kB / 0.8796 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.005064, allocations: 67.88 kB / 0.8797 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.005183, allocations: 36.55 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.005218, allocations: 12 kB / 0.8797 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.005299, allocations: 25.17 kB / 0.8797 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.005321, allocations: 4 kB / 0.8797 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.005396, allocations: 35.91 kB / 0.8798 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.005664, allocations: 156.6 kB / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.005668, allocations: 0 / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/0.005669, allocations: 0 / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.005674, allocations: 1.031 kB / 0.8799 GB, free: 4.008 MB / 0.8386 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.0006801/0.006354, allocations: 421.8 kB / 0.8803 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.006404, allocations: 13.16 kB / 0.8803 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.006476, allocations: 12.83 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.006651, allocations: 128.5 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.006671, allocations: 1.438 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.006698, allocations: 8.375 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.006821, allocations: 42.25 kB / 0.8805 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.00683, allocations: 3.594 kB / 0.8805 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.006841, allocations: 384 / 0.8805 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.006845, allocations: 384 / 0.8805 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.006901, allocations: 15.94 kB / 0.8806 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.00759, allocations: 315.7 kB / 0.8809 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.951e-05/0.00768, allocations: 35.06 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.007718, allocations: 19.73 kB / 0.8809 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.007731, allocations: 0 / 0.8809 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.007889, allocations: 78.09 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.00789, allocations: 0 / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002669/0.008157, allocations: 81.58 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.008217, allocations: 56.97 kB / 0.8811 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.008406, allocations: 197.8 kB / 0.8813 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.008436, allocations: 25.7 kB / 0.8813 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.008547, allocations: 146.8 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.00857, allocations: 17 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.008657, allocations: 43.3 kB / 0.8815 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000282/0.008939, allocations: 0.4884 MB / 0.882 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.009082, allocations: 83.08 kB / 0.8821 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.009243, allocations: 100.8 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.009402, allocations: 108.7 kB / 0.8823 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009404, allocations: 0 / 0.8823 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003741/0.009778, allocations: 220.9 kB / 0.8825 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.009822, allocations: 33.64 kB / 0.8825 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.00983, allocations: 4 kB / 0.8825 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.009845, allocations: 64 / 0.8825 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.009907, allocations: 11.94 kB / 0.8825 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.009915, allocations: 3.984 kB / 0.8825 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.01008, allocations: 19.98 kB / 0.8826 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.0101, allocations: 8.062 kB / 0.8826 GB, free: 1.043 MB / 0.8386 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 0.0001401/0.01024, allocations: 164.6 kB / 0.8827 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.01026, allocations: 15.88 kB / 0.8827 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.01029, allocations: 4 kB / 0.8827 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01029, allocations: 0 / 0.8827 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.0103, allocations: 4 kB / 0.8827 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.0103, allocations: 0 / 0.8827 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.01045, allocations: 132.6 kB / 0.8829 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01045, allocations: 0 / 0.8829 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.01047, allocations: 3.984 kB / 0.8829 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01047, allocations: 4 kB / 0.8829 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01049, allocations: 7.938 kB / 0.8829 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.01049, allocations: 0 / 0.8829 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01049, allocations: 0 / 0.8829 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.01066, allocations: 100.4 kB / 0.883 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01068, allocations: 7.953 kB / 0.883 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.0107, allocations: 7.922 kB / 0.883 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.01071, allocations: 0 / 0.883 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.01074, allocations: 4 kB / 0.883 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.01075, allocations: 4 kB / 0.883 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001061/0.01086, allocations: 143.1 kB / 0.8831 GB, free: 392 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01086, allocations: 8 kB / 0.8832 GB, free: 384 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002079/0.01107, allocations: 20 kB / 0.8832 GB, free: 364 kB / 0.8386 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.0001883/0.01125, allocations: 99.23 kB / 0.8833 GB, free: 252 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.01158, allocations: 188.7 kB / 0.8834 GB, free: 40 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01159, allocations: 0 / 0.8834 GB, free: 40 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.965e-05/0.01164, allocations: 23.69 kB / 0.8835 GB, free: 12 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.0119, allocations: 28.47 kB / 0.8835 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.01231, allocations: 154.4 kB / 0.8836 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.527e-05/0.01239, allocations: 71.28 kB / 0.8837 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.01242, allocations: 4 kB / 0.8837 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.01246, allocations: 16.48 kB / 0.8837 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01246, allocations: 0 / 0.8837 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.005041/0.0175, allocations: 1.504 MB / 0.8852 GB, free: 14.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.58704224601388]