Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.001299/0.001299, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001364/0.001364, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.399/1.399, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.719/2.719, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003549/0.003549, allocations: 71.89 kB / 0.982 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8229, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001441/0.8244, allocations: 0.587 MB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.8248, allocations: 180.7 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.044e-05/0.8248, allocations: 2.969 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.8248, allocations: 0 / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.8248, allocations: 0 / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.8251, allocations: 61.95 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.181e-05/0.8252, allocations: 0 / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.8252, allocations: 10.75 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.031e-05/0.8252, allocations: 0 / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.538e-05/0.8252, allocations: 0 / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.8252, allocations: 3.938 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.8254, allocations: 60.61 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.8254, allocations: 0 / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.134e-05/0.8254, allocations: 2.688 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.728e-05/0.8255, allocations: 40.06 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8255, allocations: 3 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.173e-06/0.8255, allocations: 0 / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.8255, allocations: 0 / 1.155 GB, free: 32.77 MB / 1.076 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.0001975/0.8257, allocations: 242.8 kB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.8257, allocations: 11.03 kB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.8257, allocations: 0.9375 kB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.316e-05/0.8258, allocations: 106.5 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.8258, allocations: 384 / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.8258, allocations: 3.188 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.926e-05/0.8259, allocations: 30.27 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.8259, allocations: 192 / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.8259, allocations: 7.219 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.8259, allocations: 0 / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.8259, allocations: 7.047 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.794e-05/0.826, allocations: 100.4 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.253e-05/0.826, allocations: 18.52 kB / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.826, allocations: 7.516 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005083/0.8265, allocations: 75.2 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.8266, allocations: 37.22 kB / 1.155 GB, free: 32.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8266, allocations: 0 / 1.155 GB, free: 32.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.8267, allocations: 39.73 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.8267, allocations: 51.41 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.475e-05/0.8267, allocations: 93.8 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/0.8267, allocations: 29.64 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-06/0.8267, allocations: 80.14 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.8267, allocations: 6.906 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.8268, allocations: 12.69 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.8268, allocations: 310.8 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.8268, allocations: 11.16 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.8268, allocations: 0 / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.8268, allocations: 7.859 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8268, allocations: 4 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.942e-05/0.8269, allocations: 38.78 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.8269, allocations: 5.625 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.8269, allocations: 0 / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8269, allocations: 0 / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.232e-05/0.8269, allocations: 10.81 kB / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.8269, allocations: 96 / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.8269, allocations: 4 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.8269, allocations: 0 / 1.156 GB, free: 31.41 MB / 1.076 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 3.636e-05/0.827, allocations: 109.6 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.827, allocations: 3.141 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.827, allocations: 38.77 kB / 1.156 GB, free: 31.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.827, allocations: 3.938 kB / 1.156 GB, free: 31.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.827, allocations: 3.984 kB / 1.156 GB, free: 31.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.8271, allocations: 0 / 1.156 GB, free: 31.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.118e-05/0.8271, allocations: 96.33 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.8271, allocations: 3.062 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.8271, allocations: 4 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.8271, allocations: 0 / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.8271, allocations: 0 / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8271, allocations: 2.75 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8271, allocations: 7.875 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.186e-05/0.8271, allocations: 57.86 kB / 1.156 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-06/0.8271, allocations: 2.719 kB / 1.156 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-06/0.8272, allocations: 0 / 1.156 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.8272, allocations: 0 / 1.156 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.8272, allocations: 6.984 kB / 1.156 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.8272, allocations: 10.69 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.977e-06/0.8272, allocations: 75.28 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.8272, allocations: 0 / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001904/0.8274, allocations: 11.34 kB / 1.157 GB, free: 30.96 MB / 1.076 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.0001365/0.8275, allocations: 113.2 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.101e-05/0.8276, allocations: 14.62 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8276, allocations: 0 / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.8276, allocations: 2.562 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.8277, allocations: 2.844 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001214/0.8278, allocations: 80.98 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.889e-05/0.8278, allocations: 54.36 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.705e-06/0.8278, allocations: 0 / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-06/0.8279, allocations: 10.94 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of SimCode: time 2.7e-07/0.8279, allocations: 0 / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of Templates: time 0.002394/0.8303, allocations: 420.2 kB / 1.157 GB, free: 30.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.059281795984134]