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.001318/0.001318, allocations: 108 kB / 15.6 MB, free: 132 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.001634/0.001634, allocations: 195 kB / 16.53 MB, free: 6.391 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.358/2.358, allocations: 390.2 MB / 0.6646 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8302/0.8316, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002637/0.8343, allocations: 1.427 MB / 0.951 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.835, allocations: 357.1 kB / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.8351, allocations: 0 / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.8351, allocations: 3.938 kB / 0.9513 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.674e-05/0.8352, allocations: 5.188 kB / 0.9513 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.8357, allocations: 114.2 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.896e-05/0.8357, allocations: 17.61 kB / 0.9514 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8358, allocations: 10.73 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.8359, allocations: 6.734 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.8359, allocations: 12.06 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.836, allocations: 1.375 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.8362, allocations: 133.8 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.8362, allocations: 3.984 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.8362, allocations: 10.59 kB / 0.9516 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.8364, allocations: 87.86 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8364, allocations: 5.281 kB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8364, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8364, allocations: 0 / 0.9517 GB, free: 7.438 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.00043/0.8369, allocations: 352.5 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.8369, allocations: 9.625 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.837, allocations: 2.031 kB / 0.9521 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/0.837, allocations: 169.3 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.8371, allocations: 1.75 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.8371, allocations: 9.375 kB / 0.9522 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.8373, allocations: 46.27 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.8373, allocations: 192 / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.8373, allocations: 7.938 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.8373, allocations: 5.078 kB / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.8375, allocations: 34.27 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.8378, allocations: 256.6 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.8379, allocations: 43.03 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.838, allocations: 18.69 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006572/0.8386, allocations: 471.6 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.8387, allocations: 31.94 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.8387, allocations: 0 / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003473/0.839, allocations: 88.27 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.8391, allocations: 56.78 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.145e-05/0.8391, allocations: 103.3 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.8391, allocations: 25.7 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.8392, allocations: 80.14 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.8392, allocations: 6.188 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.8392, allocations: 15.38 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.8393, allocations: 320.1 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.8394, allocations: 16.55 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.8394, allocations: 17.64 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.8396, allocations: 39.09 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8396, allocations: 1.438 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.8398, allocations: 71.27 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8398, allocations: 4.938 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8398, allocations: 5.5 kB / 0.9539 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8398, allocations: 0 / 0.9539 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.8399, allocations: 9.516 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.8399, allocations: 1.375 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.84, allocations: 6.766 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.84, allocations: 1.375 kB / 0.9539 GB, free: 5.105 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.956e-05/0.84, allocations: 119.1 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.8401, allocations: 5.344 kB / 0.954 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.8403, allocations: 74.41 kB / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8403, allocations: 1.188 kB / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8403, allocations: 0 / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8403, allocations: 3.984 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.8404, allocations: 157.8 kB / 0.9543 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8404, allocations: 5.562 kB / 0.9543 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.8405, allocations: 9.859 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.8405, allocations: 0 / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.8405, allocations: 0 / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8405, allocations: 0.5938 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8405, allocations: 1.438 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.8407, allocations: 162.5 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.8407, allocations: 78.17 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.8407, allocations: 1.281 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.8408, allocations: 10.48 kB / 0.9545 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.8409, allocations: 1.25 kB / 0.9545 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.8409, allocations: 1.312 kB / 0.9545 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.8409, allocations: 83 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8409, allocations: 0 / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002535/0.8412, allocations: 31.17 kB / 0.9546 GB, free: 4.367 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.0002559/0.8414, allocations: 145 kB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.8416, allocations: 41.44 kB / 0.9548 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8416, allocations: 0 / 0.9548 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.8417, allocations: 19.97 kB / 0.9548 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.842, allocations: 10.31 kB / 0.9548 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.8422, allocations: 107.6 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.8424, allocations: 0.6852 MB / 0.9556 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.8424, allocations: 1.438 kB / 0.9556 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.8424, allocations: 8.844 kB / 0.9556 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8424, allocations: 0 / 0.9556 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of Templates: time 0.00328/0.8457, allocations: 0.9041 MB / 0.9565 GB, free: 2.934 MB / 0.7169 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