Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005028/0.005028, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001098/0.001098, allocations: 195.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 68.12 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3193, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002612/0.3219, allocations: 1.426 MB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005229/0.3225, allocations: 251.3 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.3225, allocations: 0 / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.3226, allocations: 3.938 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.3226, allocations: 7.938 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.323, allocations: 59.8 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.3231, allocations: 23.94 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.3232, allocations: 3.984 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.3232, allocations: 8 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.3232, allocations: 19.92 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.3233, allocations: 0 / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.3234, allocations: 71.86 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.3234, allocations: 0 / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.3234, allocations: 7.938 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3236, allocations: 47.86 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3236, allocations: 3.938 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3236, allocations: 4 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3236, allocations: 0 / 1.21 GB, free: 7.691 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004566/0.3241, allocations: 355.4 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3241, allocations: 12.56 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.3242, allocations: 0.9375 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3243, allocations: 168.4 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3243, allocations: 4.375 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.3243, allocations: 384 / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3245, allocations: 50.23 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3245, allocations: 192 / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3245, allocations: 3.938 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3245, allocations: 4 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.3247, allocations: 35.95 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.325, allocations: 248.8 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3251, allocations: 38.5 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.934e-05/0.3252, allocations: 32.89 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/0.3259, allocations: 457.5 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3259, allocations: 30.56 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3259, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003569/0.3263, allocations: 89.58 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.3263, allocations: 51.41 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.3264, allocations: 97.86 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.3264, allocations: 25.7 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.3265, allocations: 84.14 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.3265, allocations: 7.891 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.3265, allocations: 17.84 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.3266, allocations: 314.8 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.3267, allocations: 11.98 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.3268, allocations: 15.98 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3269, allocations: 44.88 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3269, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.3271, allocations: 73.53 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3271, allocations: 7.938 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3272, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3272, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.3272, allocations: 8 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3273, allocations: 0 / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.3273, allocations: 12.02 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.3273, allocations: 0 / 1.212 GB, free: 5.117 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 (2): * Single equations (assignments): 2 * 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 6.395e-05/0.3274, allocations: 117.8 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3274, allocations: 0 / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.3276, allocations: 84.64 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3276, allocations: 0 / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3276, allocations: 0 / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3277, allocations: 8.031 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3278, allocations: 161.5 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3278, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.3279, allocations: 7.984 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3279, allocations: 0 / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3279, allocations: 4 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3279, allocations: 0 / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3279, allocations: 0 / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.3281, allocations: 163.5 kB / 1.212 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.3282, allocations: 81.05 kB / 1.212 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.3282, allocations: 192 / 1.212 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.3283, allocations: 11.98 kB / 1.212 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.3283, allocations: 7.922 kB / 1.212 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3283, allocations: 4 kB / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.3284, allocations: 79.27 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3284, allocations: 4.031 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002331/0.3286, allocations: 20 kB / 1.213 GB, free: 4.281 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 (2): * Single equations (assignments): 2 * 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.0001749/0.3288, allocations: 119.2 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.329, allocations: 35.97 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.329, allocations: 0 / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.3291, allocations: 15.98 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3293, allocations: 15.92 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.3296, allocations: 107.9 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.3298, allocations: 0.6806 MB / 1.213 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.3298, allocations: 4.125 kB / 1.213 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.3299, allocations: 11.44 kB / 1.213 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.3299, allocations: 0 / 1.213 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.00272/0.3326, allocations: 0.6624 MB / 1.214 GB, free: 2.57 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches