Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001094/0.001094, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 64.38 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2687, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001655/0.2704, allocations: 0.5924 MB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004818/0.2709, allocations: 191.4 kB / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.2709, allocations: 0 / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.2709, allocations: 0 / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.271, allocations: 0 / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.2715, allocations: 63.72 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.2715, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.2716, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.155e-05/0.2716, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.2717, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.2717, allocations: 7.938 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.2719, allocations: 59.88 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2719, allocations: 4 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.272, allocations: 3.984 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.2721, allocations: 27.97 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2721, allocations: 0 / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2721, allocations: 0 / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2722, allocations: 0 / 1.02 GB, free: 8.922 MB / 0.795 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.0003634/0.2725, allocations: 323.6 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2726, allocations: 8.922 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.2726, allocations: 0.9375 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2727, allocations: 164.4 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.2727, allocations: 8.375 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2728, allocations: 384 / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2729, allocations: 30.2 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2729, allocations: 192 / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2729, allocations: 3.938 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2729, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.744e-05/0.2729, allocations: 4 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.2731, allocations: 145.7 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.2732, allocations: 26.59 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.2732, allocations: 4.859 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009043/0.2741, allocations: 453.5 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.2741, allocations: 34.56 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.2741, allocations: 4 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.2743, allocations: 37.62 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2743, allocations: 59.28 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.2744, allocations: 89.86 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2744, allocations: 25.7 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.2745, allocations: 80.14 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.2745, allocations: 4 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.2745, allocations: 13.72 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2747, allocations: 315 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.2747, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-06/0.2747, allocations: 7.938 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.2747, allocations: 4.859 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2748, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.992e-05/0.2748, allocations: 45.67 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2748, allocations: 4 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2749, allocations: 0 / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2749, allocations: 8.031 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.2749, allocations: 4 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2749, allocations: 0 / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.275, allocations: 0 / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.275, allocations: 0 / 1.022 GB, free: 6.734 MB / 0.795 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.749e-05/0.2751, allocations: 105.8 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.2751, allocations: 3.938 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.2752, allocations: 40.75 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2752, allocations: 12.03 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2752, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2752, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.695e-05/0.2753, allocations: 153.7 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2753, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.2753, allocations: 4 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2753, allocations: 0 / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2753, allocations: 3.938 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2753, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2753, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.875e-05/0.2754, allocations: 69.06 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.2755, allocations: 77.11 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.2755, allocations: 3.938 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.2755, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.2755, allocations: 3.938 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2755, allocations: 0 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.029e-05/0.2755, allocations: 75.28 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.2755, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002203/0.2758, allocations: 16.03 kB / 1.022 GB, free: 6.074 MB / 0.795 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.0002061/0.276, allocations: 119.2 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.2761, allocations: 7.938 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2761, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.536e-06/0.2761, allocations: 8 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.2762, allocations: 4 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.2764, allocations: 84.97 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2767, allocations: 0.669 MB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.091e-05/0.2767, allocations: 0 / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.2767, allocations: 11.44 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2767, allocations: 0 / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of Templates: time 0.002657/0.2794, allocations: 402.7 kB / 1.023 GB, free: 4.723 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches