Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.802/2.802, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001432/0.001432, allocations: 184 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.0009306/0.0009306, allocations: 96.25 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005861/0.0005863, allocations: 10.59 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3873, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.5953, allocations: 149.8 MB / 1.376 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.5957, allocations: 79.94 kB / 1.376 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.006417/0.6021, allocations: 2.183 MB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6022, allocations: 0 / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.6022, allocations: 0 / 1.378 GB, free: 13.13 MB / 0.8855 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.0002928/0.6025, allocations: 344 kB / 1.378 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6025, allocations: 12.56 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.6026, allocations: 0 / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.6027, allocations: 163 kB / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.6027, allocations: 4 kB / 1.378 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.6027, allocations: 0 / 1.378 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.6029, allocations: 29.7 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6029, allocations: 4 kB / 1.378 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.6029, allocations: 0 / 1.378 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6029, allocations: 3.984 kB / 1.378 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.6029, allocations: 0 / 1.378 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.6031, allocations: 169.5 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/0.6031, allocations: 18.58 kB / 1.378 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/0.6038, allocations: 453.6 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.6038, allocations: 38.55 kB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.6038, allocations: 0 / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001559/0.604, allocations: 33.64 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.604, allocations: 51.41 kB / 1.379 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.916e-05/0.6041, allocations: 85 kB / 1.379 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.6041, allocations: 29.7 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.6041, allocations: 84.14 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.6042, allocations: 3.938 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.6042, allocations: 0 / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6043, allocations: 315 kB / 1.38 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.6043, allocations: 4 kB / 1.38 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-06/0.6043, allocations: 4 kB / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.567e-05/0.6044, allocations: 0 / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.6044, allocations: 11.88 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.81e-05/0.6044, allocations: 33.61 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6044, allocations: 4 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6045, allocations: 4 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6045, allocations: 4.094 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.6045, allocations: 3.938 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6045, allocations: 0 / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.6046, allocations: 0 / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.6046, allocations: 4 kB / 1.38 GB, free: 10.95 MB / 0.8855 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 6.561e-05/0.6046, allocations: 109.8 kB / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.6046, allocations: 7.938 kB / 1.38 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.6047, allocations: 32.83 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.6047, allocations: 4.031 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6048, allocations: 0 / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6048, allocations: 0 / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.948e-05/0.6049, allocations: 149.7 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6049, allocations: 0 / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.6049, allocations: 3.953 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6049, allocations: 0 / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.6049, allocations: 4 kB / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6049, allocations: 0 / 1.38 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6049, allocations: 7.938 kB / 1.38 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.51e-05/0.605, allocations: 57.12 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.605, allocations: 77.11 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.605, allocations: 3.953 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-06/0.6051, allocations: 0 / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.6051, allocations: 4 kB / 1.38 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.6051, allocations: 4 kB / 1.38 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.6051, allocations: 79.28 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6051, allocations: 0 / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002391/0.6054, allocations: 43.95 kB / 1.38 GB, free: 10.28 MB / 0.8855 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.0003658/0.6057, allocations: 155.9 kB / 1.38 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.52e-05/0.6058, allocations: 11.92 kB / 1.38 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6058, allocations: 0 / 1.38 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.6058, allocations: 4 kB / 1.38 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.695e-05/0.6059, allocations: 7.938 kB / 1.38 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.6061, allocations: 70.77 kB / 1.38 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.6063, allocations: 0.681 MB / 1.381 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.229e-05/0.6064, allocations: 4 kB / 1.381 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.16e-05/0.6064, allocations: 7.438 kB / 1.381 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.6064, allocations: 0 / 1.381 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of Templates: time 0.002515/0.6089, allocations: 0.5853 MB / 1.382 GB, free: 8.691 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches