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.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.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.001058/0.001058, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001068/0.001069, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.985/1.985, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.83 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2162, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001546/0.2178, allocations: 0.5859 MB / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005079/0.2183, allocations: 283 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.024e-05/0.2183, allocations: 0 / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.999e-06/0.2183, allocations: 0 / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-06/0.2184, allocations: 0 / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.2188, allocations: 99.72 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.188e-05/0.2188, allocations: 4 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.2188, allocations: 0 / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.2189, allocations: 3.938 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.581e-05/0.2189, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.2189, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.2191, allocations: 131.8 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.171e-06/0.2191, allocations: 0 / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.2191, allocations: 0 / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.2193, allocations: 67.83 kB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2193, allocations: 4 kB / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2193, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2193, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7325 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.0002668/0.2196, allocations: 327.6 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.2196, allocations: 12.03 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.2196, allocations: 4.844 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.2197, allocations: 160.4 kB / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.2197, allocations: 384 / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.2197, allocations: 384 / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/0.2198, allocations: 42.25 kB / 0.9528 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.2198, allocations: 192 / 0.9528 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2198, allocations: 11.88 kB / 0.9528 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2199, allocations: 0 / 0.9528 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.2199, allocations: 3.938 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.22, allocations: 147.7 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.153e-05/0.22, allocations: 18.61 kB / 0.953 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.2201, allocations: 4.859 kB / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006086/0.2207, allocations: 461.5 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2207, allocations: 34.56 kB / 0.9534 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2207, allocations: 0 / 0.9534 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.2208, allocations: 45.69 kB / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.2209, allocations: 55.41 kB / 0.9535 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.845e-05/0.2209, allocations: 89.86 kB / 0.9536 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.2209, allocations: 25.7 kB / 0.9536 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.2209, allocations: 80.14 kB / 0.9537 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.221, allocations: 4 kB / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.221, allocations: 9.719 kB / 0.9537 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.2211, allocations: 310.8 kB / 0.954 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.2211, allocations: 4 kB / 0.954 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.2211, allocations: 4 kB / 0.954 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.117e-05/0.2211, allocations: 8.859 kB / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2211, allocations: 0 / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.674e-05/0.2212, allocations: 41.62 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2212, allocations: 4 kB / 0.9541 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2212, allocations: 0 / 0.9541 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2212, allocations: 3.938 kB / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.63e-05/0.2213, allocations: 4 kB / 0.9541 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2213, allocations: 4.094 kB / 0.9541 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-06/0.2213, allocations: 0 / 0.9541 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.2213, allocations: 0 / 0.9541 GB, free: 4.637 MB / 0.7325 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.101e-05/0.2213, allocations: 105.8 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-06/0.2213, allocations: 0 / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.2214, allocations: 52.69 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2214, allocations: 0 / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2214, allocations: 0 / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2214, allocations: 0 / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.189e-05/0.2215, allocations: 149.7 kB / 0.9544 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.2215, allocations: 0 / 0.9544 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.2215, allocations: 4 kB / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2215, allocations: 0 / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2216, allocations: 11.86 kB / 0.9544 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2216, allocations: 0 / 0.9544 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2216, allocations: 0 / 0.9544 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.354e-05/0.2216, allocations: 65.08 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.2217, allocations: 81.09 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.2217, allocations: 7.938 kB / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-06/0.2217, allocations: 0 / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.2217, allocations: 0 / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.2217, allocations: 0 / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.2217, allocations: 79.22 kB / 0.9546 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2217, allocations: 0 / 0.9546 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001929/0.2219, allocations: 28 kB / 0.9547 GB, free: 3.961 MB / 0.7325 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.0002019/0.2221, allocations: 135.3 kB / 0.9548 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.897e-05/0.2222, allocations: 7.984 kB / 0.9548 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2222, allocations: 4 kB / 0.9548 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.2222, allocations: 4.062 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.2223, allocations: 2.031 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001406/0.2225, allocations: 80.98 kB / 0.9549 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.2227, allocations: 0.6727 MB / 0.9555 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.273e-05/0.2227, allocations: 3.984 kB / 0.9555 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.2227, allocations: 7.438 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2227, allocations: 0 / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of Templates: time 0.002274/0.225, allocations: 0.6368 MB / 0.9562 GB, free: 2.352 MB / 0.7325 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 -s cvode -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/jenkins1/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