Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.001903/0.001903, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002338/0.002338, allocations: 203.7 kB / 22.18 MB, free: 5.211 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.468/1.468, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.877/2.877, allocations: 476.7 MB / 0.7645 GB, free: 10.14 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 63.91 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8136, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001955/0.8156, allocations: 0.586 MB / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005243/0.8161, allocations: 203.3 kB / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.146e-05/0.8161, allocations: 0 / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.8161, allocations: 0 / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.8161, allocations: 3.938 kB / 1.275 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.8166, allocations: 51.84 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.614e-05/0.8166, allocations: 4 kB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.8167, allocations: 3.984 kB / 1.275 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.8167, allocations: 7.922 kB / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.89e-05/0.8167, allocations: 0 / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.8167, allocations: 0 / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.8169, allocations: 59.94 kB / 1.275 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.8169, allocations: 3.938 kB / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.8169, allocations: 0 / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.817, allocations: 46.55 kB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.817, allocations: 0 / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.844e-06/0.817, allocations: 0 / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.817, allocations: 4 kB / 1.275 GB, free: 3.449 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.0003376/0.8174, allocations: 315.5 kB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8174, allocations: 12.03 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.8174, allocations: 0.9375 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.8175, allocations: 164.4 kB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.8175, allocations: 384 / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.8176, allocations: 384 / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.465e-05/0.8176, allocations: 34.27 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8176, allocations: 4.188 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.8177, allocations: 3.938 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.8177, allocations: 0 / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.8177, allocations: 3.938 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.8178, allocations: 141.7 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.8179, allocations: 22.59 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.8179, allocations: 4.859 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007872/0.8187, allocations: 461.5 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.8187, allocations: 34.56 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8187, allocations: 0 / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.8189, allocations: 37.58 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.8189, allocations: 55.53 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.641e-05/0.8189, allocations: 93.86 kB / 1.276 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.819, allocations: 29.64 kB / 1.276 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.819, allocations: 80.14 kB / 1.276 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.819, allocations: 3.938 kB / 1.276 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.819, allocations: 13.72 kB / 1.276 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8192, allocations: 314.8 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.8192, allocations: 0 / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-06/0.8192, allocations: 4 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.8192, allocations: 12.92 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8192, allocations: 7.938 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.541e-05/0.8193, allocations: 37.64 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8193, allocations: 4 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.8193, allocations: 0 / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8193, allocations: 3.938 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.271e-05/0.8193, allocations: 7.984 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8194, allocations: 3.984 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.8194, allocations: 4.031 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.8194, allocations: 0 / 1.277 GB, free: 1.254 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.248e-05/0.8194, allocations: 105.8 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.8195, allocations: 0 / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.8195, allocations: 48.7 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.8195, allocations: 0 / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.8195, allocations: 0 / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8195, allocations: 3.984 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.8196, allocations: 141.7 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.8196, allocations: 4.031 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.8197, allocations: 4 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.8197, allocations: 0 / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.8197, allocations: 3.938 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8197, allocations: 0 / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8197, allocations: 0 / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.212e-05/0.8197, allocations: 61.12 kB / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.8198, allocations: 77.11 kB / 1.277 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.8198, allocations: 7.969 kB / 1.277 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.8198, allocations: 0 / 1.277 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-06/0.8198, allocations: 0 / 1.277 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.8198, allocations: 0 / 1.277 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.8198, allocations: 83.16 kB / 1.277 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8198, allocations: 0 / 1.277 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002145/0.8201, allocations: 15.98 kB / 1.277 GB, free: 0.6094 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.0002089/0.8203, allocations: 123.7 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.126e-05/0.8203, allocations: 7.984 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8203, allocations: 4 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.082e-06/0.8203, allocations: 0 / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.8205, allocations: 5.719 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.8207, allocations: 96.98 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.8209, allocations: 0.6729 MB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.154e-05/0.821, allocations: 4 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.821, allocations: 11.44 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.821, allocations: 0 / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of Templates: time 0.002662/0.8236, allocations: 424.8 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.851710293907672]