Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 200 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.91 kB / 1.109 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9097/0.9116, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001887/0.9135, allocations: 0.5899 MB / 1.275 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.9141, allocations: 191.3 kB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.9141, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.9141, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-06/0.9141, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.9146, allocations: 59.83 kB / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.9146, allocations: 0 / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.9146, allocations: 7.938 kB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.9147, allocations: 0 / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.9147, allocations: 4 kB / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.9147, allocations: 0 / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.9149, allocations: 59.88 kB / 1.275 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.9149, allocations: 0 / 1.275 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.9149, allocations: 7.922 kB / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.9151, allocations: 34.62 kB / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9151, allocations: 4 kB / 1.275 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9151, allocations: 4 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.9151, allocations: 0 / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004695/0.9155, allocations: 319.5 kB / 1.275 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9156, allocations: 8.031 kB / 1.275 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.9156, allocations: 0.9375 kB / 1.275 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.9157, allocations: 164.4 kB / 1.275 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.9158, allocations: 384 / 1.275 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.9158, allocations: 384 / 1.275 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.9159, allocations: 30.27 kB / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9159, allocations: 192 / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9159, allocations: 3.938 kB / 1.276 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.9159, allocations: 4 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.9159, allocations: 7.938 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.9161, allocations: 145.7 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.155e-05/0.9162, allocations: 22.59 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.9162, allocations: 4.859 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000822/0.917, allocations: 457.5 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.917, allocations: 34.56 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.917, allocations: 0 / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001538/0.9172, allocations: 37.58 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.9172, allocations: 55.53 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.259e-05/0.9173, allocations: 93.86 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.9173, allocations: 25.7 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.9173, allocations: 80.14 kB / 1.276 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.9174, allocations: 11.88 kB / 1.276 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.9174, allocations: 13.7 kB / 1.276 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9176, allocations: 310.8 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.9176, allocations: 0 / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/0.9176, allocations: 8 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.9176, allocations: 12.8 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9176, allocations: 0 / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.753e-05/0.9177, allocations: 33.7 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.9177, allocations: 4 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.9177, allocations: 3.938 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.9177, allocations: 3.938 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.9178, allocations: 7.984 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.9178, allocations: 0 / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.9178, allocations: 4.094 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.9178, allocations: 0 / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.921e-05/0.9179, allocations: 105.8 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.9179, allocations: 0 / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.19e-05/0.9179, allocations: 48.7 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.918, allocations: 3.984 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.918, allocations: 0 / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.918, allocations: 0 / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.9181, allocations: 149.7 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.9181, allocations: 0 / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.9181, allocations: 4 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9181, allocations: 0 / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.9181, allocations: 3.938 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.9181, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9181, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.133e-05/0.9182, allocations: 61.12 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.9182, allocations: 81.14 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.9183, allocations: 7.875 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.9183, allocations: 0 / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.9183, allocations: 0 / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.9183, allocations: 0 / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.9183, allocations: 79.27 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.9183, allocations: 0 / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002075/0.9185, allocations: 15.94 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002349/0.9188, allocations: 126.5 kB / 1.277 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.859e-05/0.9188, allocations: 7.984 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9188, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.9188, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.919, allocations: 10.19 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.9192, allocations: 104.9 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.9195, allocations: 0.669 MB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.082e-05/0.9196, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.9196, allocations: 11.44 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9196, allocations: 0 / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of Templates: time 0.002941/0.9225, allocations: 414 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.932050397619605]