Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8844/0.8848, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006408/0.8855, allocations: 322.4 kB / 0.9547 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003731/0.8859, allocations: 174 kB / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-06/0.8859, allocations: 0 / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.356e-06/0.8859, allocations: 1.281 kB / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.886, allocations: 4 kB / 0.9549 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.8862, allocations: 43.58 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.676e-05/0.8863, allocations: 1 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.8863, allocations: 1.094 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.076e-05/0.8864, allocations: 0 / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/0.8864, allocations: 1.156 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.8864, allocations: 0 / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.8866, allocations: 68.34 kB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.941e-06/0.8866, allocations: 3.984 kB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.8866, allocations: 30.83 kB / 0.9551 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.374e-05/0.8867, allocations: 20.16 kB / 0.9551 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8867, allocations: 1.031 kB / 0.9551 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8867, allocations: 3.938 kB / 0.9551 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8867, allocations: 0 / 0.9551 GB, free: 7.227 MB / 0.7169 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.0001969/0.8869, allocations: 320.5 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.887, allocations: 10.34 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.887, allocations: 7.938 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.092e-05/0.8871, allocations: 159.1 kB / 0.9556 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.8871, allocations: 5.188 kB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.8871, allocations: 4 kB / 0.9556 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.8872, allocations: 27.95 kB / 0.9556 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.8872, allocations: 0 / 0.9556 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.8872, allocations: 0 / 0.9556 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.8872, allocations: 1.281 kB / 0.9556 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.8872, allocations: 5.078 kB / 0.9556 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.8874, allocations: 150.8 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.367e-05/0.8874, allocations: 24.89 kB / 0.9558 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.289e-05/0.8874, allocations: 4.859 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/0.888, allocations: 460.8 kB / 0.9562 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.8881, allocations: 30.56 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.8881, allocations: 9.125 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.8882, allocations: 33.36 kB / 0.9563 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.8882, allocations: 52.31 kB / 0.9563 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.992e-05/0.8883, allocations: 93.86 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.8883, allocations: 26.77 kB / 0.9564 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.252e-05/0.8883, allocations: 84.12 kB / 0.9565 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.8883, allocations: 5.375 kB / 0.9565 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-06/0.8883, allocations: 0 / 0.9565 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.8884, allocations: 318.9 kB / 0.9568 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.8884, allocations: 1.312 kB / 0.9568 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.8884, allocations: 1.188 kB / 0.9568 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.648e-05/0.8884, allocations: 5.406 kB / 0.9568 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.8884, allocations: 0 / 0.9568 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.123e-05/0.8885, allocations: 31.02 kB / 0.9569 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8885, allocations: 6.062 kB / 0.9569 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8885, allocations: 1.469 kB / 0.9569 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.8885, allocations: 0 / 0.9569 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.948e-05/0.8886, allocations: 13.14 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.8886, allocations: 1.375 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-06/0.8886, allocations: 0 / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.8886, allocations: 1.469 kB / 0.9569 GB, free: 5.16 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.8887, allocations: 113.8 kB / 0.957 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.8887, allocations: 0.9375 kB / 0.957 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.8887, allocations: 37.16 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.8888, allocations: 0 / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8888, allocations: 0.875 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8888, allocations: 4 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.175e-05/0.8888, allocations: 150.8 kB / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8888, allocations: 1.25 kB / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.8888, allocations: 0.9688 kB / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8889, allocations: 1.469 kB / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.8889, allocations: 0 / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8889, allocations: 3.938 kB / 0.9572 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8889, allocations: 3.984 kB / 0.9572 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.878e-05/0.8889, allocations: 58.94 kB / 0.9573 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.8889, allocations: 78.55 kB / 0.9573 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.889, allocations: 0 / 0.9573 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-06/0.889, allocations: 5.562 kB / 0.9573 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.889, allocations: 4 kB / 0.9573 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.889, allocations: 4.953 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.162e-05/0.889, allocations: 75.28 kB / 0.9574 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.889, allocations: 0 / 0.9574 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002038/0.8892, allocations: 15.25 kB / 0.9574 GB, free: 4.539 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.8894, allocations: 125.8 kB / 0.9576 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.835e-05/0.8895, allocations: 11.95 kB / 0.9576 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8895, allocations: 0 / 0.9576 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.742e-06/0.8895, allocations: 5.938 kB / 0.9576 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.8897, allocations: 12.02 kB / 0.9576 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001314/0.8898, allocations: 71.67 kB / 0.9577 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.684e-05/0.8899, allocations: 0.6755 MB / 0.9583 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.037e-06/0.8899, allocations: 0 / 0.9583 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-06/0.8899, allocations: 8.781 kB / 0.9583 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8899, allocations: 0 / 0.9583 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.002175/0.8921, allocations: 401.9 kB / 0.9587 GB, free: 3.41 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches