Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.194/2.194, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009775/0.0009775, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 0.7915 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009437, allocations: 95.61 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.515e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3082, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.357, allocations: 150.5 MB / 1.366 GB, free: 3.504 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/1.357, allocations: 69.97 kB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007079/1.364, allocations: 2.39 MB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.585e-06/1.365, allocations: 0 / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.365, allocations: 0 / 1.368 GB, free: 1.398 MB / 0.823 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.0004525/1.365, allocations: 361.4 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.365, allocations: 8.031 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/1.365, allocations: 4.625 kB / 1.368 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/1.365, allocations: 174.9 kB / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/1.365, allocations: 4.562 kB / 1.369 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/1.365, allocations: 4 kB / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/1.366, allocations: 37.19 kB / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.366, allocations: 0 / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/1.366, allocations: 3.938 kB / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.366, allocations: 0 / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/1.366, allocations: 11.62 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/1.366, allocations: 275.6 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/1.366, allocations: 21.2 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/1.366, allocations: 12.17 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/1.367, allocations: 448.7 kB / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/1.367, allocations: 34.5 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.367, allocations: 4 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002107/1.367, allocations: 40.62 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/1.367, allocations: 51.41 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.368, allocations: 100.5 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/1.368, allocations: 25.7 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/1.368, allocations: 84.17 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/1.368, allocations: 19.39 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/1.368, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.368, allocations: 314.8 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/1.368, allocations: 7.5 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/1.368, allocations: 4 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/1.368, allocations: 7.25 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.368, allocations: 0 / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.423e-05/1.368, allocations: 45.08 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.368, allocations: 4 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.368, allocations: 0 / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.368, allocations: 4 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/1.368, allocations: 11.98 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.368, allocations: 0 / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/1.368, allocations: 7.984 kB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/1.368, allocations: 11.98 kB / 1.37 GB, free: 15.05 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.369, allocations: 101 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/1.369, allocations: 3.906 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/1.369, allocations: 55.5 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.369, allocations: 4 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.369, allocations: 0 / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.369, allocations: 0 / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/1.369, allocations: 157.1 kB / 1.37 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.369, allocations: 3.984 kB / 1.37 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/1.369, allocations: 12.03 kB / 1.37 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.369, allocations: 0 / 1.37 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/1.369, allocations: 0 / 1.37 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.369, allocations: 0 / 1.37 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.369, allocations: 4 kB / 1.37 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/1.369, allocations: 141.8 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/1.369, allocations: 81.33 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.369, allocations: 4 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/1.37, allocations: 7.984 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/1.37, allocations: 7.984 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/1.37, allocations: 0 / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.088e-05/1.37, allocations: 86.83 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.37, allocations: 0 / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003581/1.37, allocations: 39.94 kB / 1.371 GB, free: 14.28 MB / 0.8386 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 () * 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 (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.0004474/1.37, allocations: 154.4 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001044/1.371, allocations: 15.69 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.371, allocations: 3.938 kB / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/1.371, allocations: 11.94 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/1.371, allocations: 8.516 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/1.371, allocations: 58.88 kB / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/1.371, allocations: 0.6886 MB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.761e-05/1.372, allocations: 4.125 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/1.372, allocations: 11.44 kB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.372, allocations: 0 / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of Templates: time 0.004195/1.376, allocations: 0.7589 MB / 1.372 GB, free: 12.53 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches