Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.0008309, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 185.2 kB / 16.92 MB, free: 6.926 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: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7455, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001586/0.7472, allocations: 1.164 MB / 0.9568 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.748, allocations: 355.1 kB / 0.9572 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.748, allocations: 0 / 0.9572 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.7481, allocations: 1.438 kB / 0.9572 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.7481, allocations: 0 / 0.9572 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.7486, allocations: 88.72 kB / 0.9573 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.907e-05/0.7487, allocations: 13.16 kB / 0.9573 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.7488, allocations: 14.3 kB / 0.9573 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.7488, allocations: 7.328 kB / 0.9573 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.7489, allocations: 14.48 kB / 0.9573 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.7489, allocations: 1.438 kB / 0.9573 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.7492, allocations: 122.8 kB / 0.9574 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.7492, allocations: 13.23 kB / 0.9574 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.7493, allocations: 35.94 kB / 0.9575 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.7494, allocations: 58.88 kB / 0.9575 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.7494, allocations: 0.8438 kB / 0.9575 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7494, allocations: 0 / 0.9575 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7494, allocations: 0 / 0.9575 GB, free: 6.266 MB / 0.7169 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.0004274/0.7499, allocations: 351.9 kB / 0.9579 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.7499, allocations: 8.812 kB / 0.9579 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.75, allocations: 2.344 kB / 0.9579 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.7501, allocations: 169.9 kB / 0.958 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.7501, allocations: 1.625 kB / 0.958 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.7501, allocations: 5 kB / 0.958 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.7503, allocations: 50.8 kB / 0.9581 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7503, allocations: 192 / 0.9581 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.7503, allocations: 8.75 kB / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7503, allocations: 0 / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.7505, allocations: 49.09 kB / 0.9582 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.7508, allocations: 252.9 kB / 0.9584 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.751, allocations: 47.41 kB / 0.9584 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.7511, allocations: 23.19 kB / 0.9585 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.7517, allocations: 468.5 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.7517, allocations: 36.59 kB / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.7517, allocations: 0 / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003633/0.7521, allocations: 98.05 kB / 0.959 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.7521, allocations: 52.88 kB / 0.9591 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.7522, allocations: 102.8 kB / 0.9592 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.7522, allocations: 25.7 kB / 0.9592 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.7522, allocations: 81.64 kB / 0.9593 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.7522, allocations: 8.031 kB / 0.9593 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.7523, allocations: 11.16 kB / 0.9593 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.7523, allocations: 314.8 kB / 0.9596 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.7524, allocations: 22.09 kB / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.7525, allocations: 23.48 kB / 0.9596 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.7526, allocations: 52.86 kB / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7527, allocations: 0 / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002101/0.7529, allocations: 81.53 kB / 0.9598 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7529, allocations: 6.969 kB / 0.9598 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7529, allocations: 0 / 0.9598 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7529, allocations: 1.812 kB / 0.9598 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.753, allocations: 11.17 kB / 0.9598 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.753, allocations: 5.828 kB / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.7531, allocations: 9.594 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.7531, allocations: 3.938 kB / 0.9598 GB, free: 3.941 MB / 0.7169 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 4.904e-05/0.7531, allocations: 119.5 kB / 0.9599 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.7532, allocations: 5.797 kB / 0.9599 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.7534, allocations: 84.41 kB / 0.96 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.7534, allocations: 0 / 0.96 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.7534, allocations: 1.344 kB / 0.96 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7534, allocations: 0 / 0.96 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.7536, allocations: 161.3 kB / 0.9602 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7536, allocations: 5.359 kB / 0.9602 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.7536, allocations: 7.594 kB / 0.9602 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.7536, allocations: 5.406 kB / 0.9602 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.7537, allocations: 0 / 0.9602 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7537, allocations: 0 / 0.9602 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7537, allocations: 1.562 kB / 0.9602 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.7539, allocations: 183.5 kB / 0.9604 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.7539, allocations: 86.47 kB / 0.9604 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.754, allocations: 1.375 kB / 0.9604 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.754, allocations: 5.5 kB / 0.9605 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.7541, allocations: 9.359 kB / 0.9605 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.7541, allocations: 1.375 kB / 0.9605 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.523e-05/0.7541, allocations: 78.03 kB / 0.9605 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7541, allocations: 0 / 0.9605 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002781/0.7544, allocations: 31.41 kB / 0.9606 GB, free: 3.188 MB / 0.7169 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.0002564/0.7547, allocations: 131.9 kB / 0.9607 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.7549, allocations: 51.17 kB / 0.9607 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7549, allocations: 0 / 0.9607 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.362e-05/0.755, allocations: 28.98 kB / 0.9608 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.7553, allocations: 10.28 kB / 0.9608 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.7555, allocations: 128.5 kB / 0.9609 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.51e-05/0.7556, allocations: 0.6775 MB / 0.9616 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.7557, allocations: 8.875 kB / 0.9616 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7557, allocations: 0 / 0.9616 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of Templates: time 0.00257/0.7582, allocations: 0.9704 MB / 0.9625 GB, free: 1.723 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches