Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_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.009529/0.009529, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001507/0.001507, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 0.9508 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.137, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.005753/1.143, allocations: 1.435 MB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001065/1.144, allocations: 365.8 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/1.144, allocations: 0 / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/1.144, allocations: 1.766 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/1.145, allocations: 3.938 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000954/1.145, allocations: 102.7 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/1.146, allocations: 27.77 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/1.146, allocations: 8.469 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/1.146, allocations: 8.109 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/1.146, allocations: 14.22 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/1.146, allocations: 1.531 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/1.146, allocations: 130.1 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/1.146, allocations: 4.797 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/1.147, allocations: 12.12 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/1.147, allocations: 86.48 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/1.147, allocations: 0.75 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.517e-06/1.147, allocations: 3.938 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.147, allocations: 0 / 1.09 GB, free: 4.105 MB / 0.8575 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.0008294/1.148, allocations: 360 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.105e-05/1.148, allocations: 10.27 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/1.148, allocations: 2.25 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/1.148, allocations: 163.2 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/1.148, allocations: 1.344 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/1.148, allocations: 2.25 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/1.149, allocations: 52.59 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.149, allocations: 4.938 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/1.149, allocations: 3.938 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/1.149, allocations: 1.344 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/1.149, allocations: 32.78 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/1.15, allocations: 241.8 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/1.15, allocations: 52.59 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/1.15, allocations: 24.16 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.151, allocations: 472.4 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.151, allocations: 31.66 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/1.151, allocations: 0 / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005804/1.152, allocations: 80.98 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.152, allocations: 56.2 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/1.152, allocations: 105 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/1.152, allocations: 30.39 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/1.152, allocations: 85.48 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/1.152, allocations: 5.406 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/1.152, allocations: 13.11 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.152, allocations: 317.2 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/1.152, allocations: 13.55 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/1.152, allocations: 22.7 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/1.153, allocations: 36.83 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.153, allocations: 1.125 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000335/1.153, allocations: 66.28 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/1.153, allocations: 6.109 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.153, allocations: 4.094 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.153, allocations: 4.688 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/1.153, allocations: 13.45 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.153, allocations: 0 / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/1.153, allocations: 6.516 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.153, allocations: 0.9062 kB / 1.092 GB, free: 1.906 MB / 0.8575 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 9.663e-05/1.154, allocations: 112.1 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/1.154, allocations: 5.094 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/1.154, allocations: 75.3 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.154, allocations: 1.641 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.154, allocations: 0 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.154, allocations: 0.7188 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/1.154, allocations: 167.2 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.154, allocations: 0.75 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/1.154, allocations: 8.703 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/1.154, allocations: 0.7188 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.154, allocations: 9.703 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.154, allocations: 0 / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.154, allocations: 0.7188 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/1.155, allocations: 162.8 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/1.155, allocations: 78.45 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/1.155, allocations: 1.156 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.155, allocations: 9.672 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/1.155, allocations: 6.406 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/1.155, allocations: 1.875 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.699e-05/1.155, allocations: 83.86 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.155, allocations: 0 / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005259/1.156, allocations: 28.86 kB / 1.093 GB, free: 1.203 MB / 0.8575 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.0004783/1.156, allocations: 137 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003474/1.157, allocations: 40.58 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.157, allocations: 0 / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/1.157, allocations: 24.31 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/1.157, allocations: 7.188 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/1.158, allocations: 99.66 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/1.158, allocations: 0.6757 MB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.46e-05/1.158, allocations: 5.703 kB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/1.158, allocations: 9.406 kB / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/1.158, allocations: 0 / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.006559/1.164, allocations: 0.9052 MB / 1.095 GB, free: 16.18 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches