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.0007125/0.0007125, allocations: 87.56 kB / 20.19 MB, free: 4.348 MB / 18.57 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.0008729/0.0008729, allocations: 162 kB / 23.51 MB, free: 1.027 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 0.9466/0.9466, allocations: 177.2 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.902/1.902, allocations: 390.1 MB / 0.6352 GB, free: 11.48 MB / 0.6042 GB " [Timeout remaining time 178] 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.525e-06/2.525e-06, allocations: 0 / 0.8271 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.849e-05/4.102e-05, allocations: 3.812 kB / 0.8271 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00147/0.001511, allocations: 0.7214 MB / 0.8278 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.002895, allocations: 1.153 MB / 0.8289 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.002947, allocations: 4 kB / 0.8289 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.002978, allocations: 3.938 kB / 0.8289 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.003061, allocations: 11.92 kB / 0.8289 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.003461, allocations: 134.4 kB / 0.8291 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.003635, allocations: 123.8 kB / 0.8292 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.003738, allocations: 4 kB / 0.8292 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.003837, allocations: 71.88 kB / 0.8293 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.026e-05/0.003928, allocations: 31.91 kB / 0.8293 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.003951, allocations: 12 kB / 0.8293 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.004014, allocations: 24.64 kB / 0.8293 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.004042, allocations: 15.92 kB / 0.8293 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.004093, allocations: 37.56 kB / 0.8294 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.004279, allocations: 151.6 kB / 0.8295 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004282, allocations: 4 kB / 0.8295 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004283, allocations: 0 / 0.8295 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.004288, allocations: 0 / 0.8295 GB, free: 11.7 MB / 0.7448 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.000471/0.004759, allocations: 313.6 kB / 0.8298 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.004801, allocations: 8.031 kB / 0.8298 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.00486, allocations: 12.88 kB / 0.8298 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.004961, allocations: 123.2 kB / 0.83 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.004979, allocations: 5.719 kB / 0.83 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.004997, allocations: 4.375 kB / 0.83 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.96e-05/0.005097, allocations: 50.19 kB / 0.83 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.005107, allocations: 192 / 0.83 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.005119, allocations: 2.781 kB / 0.83 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005124, allocations: 384 / 0.83 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.005173, allocations: 19.92 kB / 0.83 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.005533, allocations: 252.5 kB / 0.8303 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.279e-05/0.005596, allocations: 38.5 kB / 0.8303 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.005619, allocations: 12.92 kB / 0.8303 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.005629, allocations: 4.516 kB / 0.8303 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.005744, allocations: 72.03 kB / 0.8304 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.005746, allocations: 0 / 0.8304 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.005948, allocations: 82.09 kB / 0.8305 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.005984, allocations: 57 kB / 0.8305 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/0.006074, allocations: 121.8 kB / 0.8307 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.006095, allocations: 29.7 kB / 0.8307 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.006152, allocations: 92.12 kB / 0.8308 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.006167, allocations: 12.5 kB / 0.8308 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.006213, allocations: 29.7 kB / 0.8308 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.006297, allocations: 323.4 kB / 0.8311 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.006375, allocations: 65.69 kB / 0.8312 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.006456, allocations: 85.03 kB / 0.8313 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.006544, allocations: 101.4 kB / 0.8314 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006546, allocations: 0 / 0.8314 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002039/0.00675, allocations: 198.4 kB / 0.8315 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.006781, allocations: 37.64 kB / 0.8316 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.00679, allocations: 8.062 kB / 0.8316 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.006803, allocations: 0.9062 kB / 0.8316 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.006855, allocations: 0 / 0.8316 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.006862, allocations: 8.766 kB / 0.8316 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.006984, allocations: 33.14 kB / 0.8316 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.007, allocations: 8 kB / 0.8316 GB, free: 9.316 MB / 0.7448 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 6.857e-05/0.007068, allocations: 122.6 kB / 0.8318 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.007078, allocations: 7.922 kB / 0.8318 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.0071, allocations: 9.219 kB / 0.8318 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007102, allocations: 0 / 0.8318 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.007108, allocations: 0 / 0.8318 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007112, allocations: 0 / 0.8318 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.428e-05/0.007186, allocations: 118.6 kB / 0.8319 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007187, allocations: 3.938 kB / 0.8319 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/0.007197, allocations: 3.984 kB / 0.8319 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.007198, allocations: 1.75 kB / 0.8319 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.007206, allocations: 7.938 kB / 0.8319 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.007207, allocations: 0 / 0.8319 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007208, allocations: 0 / 0.8319 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.485e-05/0.007293, allocations: 89.08 kB / 0.832 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.007306, allocations: 14.53 kB / 0.832 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.007318, allocations: 7.875 kB / 0.832 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.68e-05/0.007335, allocations: 0 / 0.832 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.007364, allocations: 0 / 0.832 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.007371, allocations: 12 kB / 0.832 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.007415, allocations: 97.89 kB / 0.8321 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007416, allocations: 0 / 0.8321 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001438/0.007559, allocations: 20.5 kB / 0.8321 GB, free: 8.762 MB / 0.7448 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.0001205/0.00768, allocations: 100.1 kB / 0.8322 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.007869, allocations: 158.1 kB / 0.8324 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007871, allocations: 0 / 0.8324 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.141e-05/0.007892, allocations: 13.34 kB / 0.8324 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.008062, allocations: 16.45 kB / 0.8324 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.008333, allocations: 148.9 kB / 0.8326 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.008381, allocations: 75.23 kB / 0.8326 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.008399, allocations: 4.656 kB / 0.8326 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.008419, allocations: 12.5 kB / 0.8326 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.008419, allocations: 3.25 kB / 0.8326 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.00293/0.01135, allocations: 1.493 MB / 0.8341 GB, free: 6.75 MB / 0.7448 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] 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: 4.949989562854171]