Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.00199/0.00199, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8924/0.8937, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002507/0.8962, allocations: 1.424 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.897, allocations: 362.8 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.897, allocations: 0 / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.897, allocations: 0 / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.8971, allocations: 3.938 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.8975, allocations: 107.7 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.8976, allocations: 23.92 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.8977, allocations: 8 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.8978, allocations: 15.92 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.8978, allocations: 4 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.8978, allocations: 4 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.898, allocations: 127.8 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.8981, allocations: 4 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.8981, allocations: 11.94 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.8983, allocations: 95.72 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8983, allocations: 3.938 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8983, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8983, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 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.0004741/0.8988, allocations: 359.3 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8988, allocations: 8.031 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.8989, allocations: 4.938 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.899, allocations: 160.4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.899, allocations: 384 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.899, allocations: 4.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.8992, allocations: 58.16 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8992, allocations: 4.188 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.8992, allocations: 7.938 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8993, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.8994, allocations: 35.95 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.8998, allocations: 236.9 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.8999, allocations: 54.47 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.9, allocations: 20.91 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000711/0.9007, allocations: 477.4 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.9007, allocations: 30.56 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9007, allocations: 0 / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003514/0.9011, allocations: 81.55 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.9011, allocations: 51.41 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.9012, allocations: 106 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.9013, allocations: 25.7 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.9013, allocations: 84.14 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.9013, allocations: 7.906 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.9014, allocations: 9.719 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.9015, allocations: 318.8 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.811e-05/0.9016, allocations: 15.98 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.9016, allocations: 19.92 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.9018, allocations: 44.81 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9018, allocations: 0 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.902, allocations: 65.61 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.902, allocations: 4 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.902, allocations: 4.094 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.902, allocations: 0 / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.9021, allocations: 11.98 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.9021, allocations: 0 / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.9022, allocations: 7.984 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.9022, allocations: 0 / 1.213 GB, free: 8.832 MB / 0.9356 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 7.405e-05/0.9023, allocations: 113.7 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.9023, allocations: 4 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.9025, allocations: 76.72 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.9025, allocations: 0 / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9026, allocations: 0 / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9026, allocations: 3.984 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.9027, allocations: 157.6 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9027, allocations: 4 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.9028, allocations: 7.984 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9028, allocations: 0 / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.9028, allocations: 4.031 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.9028, allocations: 3.938 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9028, allocations: 4 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.9031, allocations: 167.3 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.9031, allocations: 82.94 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.9031, allocations: 4 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.9032, allocations: 12.02 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.9032, allocations: 0 / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.9032, allocations: 0 / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.9033, allocations: 87.45 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9033, allocations: 0 / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002551/0.9036, allocations: 31.98 kB / 1.214 GB, free: 7.984 MB / 0.9356 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.0002541/0.9038, allocations: 135.2 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.904, allocations: 43.89 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.904, allocations: 0 / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.9041, allocations: 24.05 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.9044, allocations: 7.922 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.9047, allocations: 127.2 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.9049, allocations: 0.6768 MB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.9049, allocations: 7.438 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.9049, allocations: 0 / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of Templates: time 0.002466/0.9074, allocations: 0.9985 MB / 1.215 GB, free: 5.902 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches