Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008207/0.008207, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001379/0.001379, allocations: 196 kB / 16.68 MB, free: 5.93 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.359/1.359, 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.178/2.178, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.91 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9299/0.9313, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002139/0.9335, allocations: 0.5648 MB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006089/0.9341, allocations: 297.5 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.9341, allocations: 0 / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.9341, allocations: 1.406 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.9342, allocations: 0 / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.9346, allocations: 95.8 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.9347, allocations: 5.469 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.9347, allocations: 2.859 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.9348, allocations: 0 / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.9348, allocations: 3.984 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.9348, allocations: 0 / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.9351, allocations: 118.5 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.9351, allocations: 0 / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.9351, allocations: 8.859 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.9353, allocations: 70.91 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9353, allocations: 0 / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9353, allocations: 4 kB / 1.089 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.9353, allocations: 1.156 kB / 1.089 GB, free: 4.848 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002868/0.9356, allocations: 326.9 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.9357, allocations: 9.844 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.9357, allocations: 0.9375 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.9358, allocations: 162.8 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.9358, allocations: 384 / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.9358, allocations: 1.688 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.9359, allocations: 32.19 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.9359, allocations: 4.188 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.936, allocations: 5.625 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.936, allocations: 0 / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.936, allocations: 1.656 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.9361, allocations: 149.3 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.9362, allocations: 16.23 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.9362, allocations: 6.531 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/0.9369, allocations: 461.8 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.937, allocations: 34.5 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.937, allocations: 1.531 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.9371, allocations: 35.23 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.9372, allocations: 56.59 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.946e-05/0.9372, allocations: 90.38 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.9372, allocations: 29.64 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.52e-05/0.9372, allocations: 80.14 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.9373, allocations: 5.75 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.9373, allocations: 12.06 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.9374, allocations: 311.6 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.9374, allocations: 5.531 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.9374, allocations: 4.969 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.9374, allocations: 12.56 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9375, allocations: 0 / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.611e-05/0.9375, allocations: 36.95 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.9375, allocations: 5.094 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9375, allocations: 0 / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.9376, allocations: 5.062 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.376e-05/0.9376, allocations: 1.625 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.9376, allocations: 1.688 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-06/0.9376, allocations: 4.094 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.9376, allocations: 1.156 kB / 1.091 GB, free: 2.797 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 (1): * Single equations (assignments): 1 * 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 5.426e-05/0.9377, allocations: 107.7 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-06/0.9377, allocations: 4.734 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.9378, allocations: 43.94 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.9378, allocations: 0 / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9378, allocations: 0.75 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9378, allocations: 0.9062 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.371e-05/0.9379, allocations: 160.6 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9379, allocations: 0 / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.9379, allocations: 1.672 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9379, allocations: 1.359 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.9379, allocations: 3.938 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9379, allocations: 1.453 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9379, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.36e-05/0.938, allocations: 61 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.938, allocations: 82.92 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.938, allocations: 4.453 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-06/0.9381, allocations: 1.297 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.9381, allocations: 1.875 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.9381, allocations: 0 / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.468e-05/0.9381, allocations: 79.22 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.9381, allocations: 1.094 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000244/0.9383, allocations: 25.59 kB / 1.091 GB, free: 2.176 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 (1): * Single equations (assignments): 1 * 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.0002489/0.9386, allocations: 139.5 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.9387, allocations: 3.906 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9387, allocations: 1.219 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-06/0.9387, allocations: 9.938 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.9388, allocations: 5.5 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001722/0.939, allocations: 80.42 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.9392, allocations: 0.6708 MB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.285e-05/0.9392, allocations: 4.609 kB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.154e-05/0.9392, allocations: 8.719 kB / 1.092 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.9392, allocations: 0 / 1.092 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.002966/0.9422, allocations: 0.6339 MB / 1.093 GB, free: 17.18 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches