Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_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.00922/0.00922, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.002224/0.002224, allocations: 189 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.457/1.457, 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 12.0.0-master/package.mo): time 2.653/2.653, allocations: 472.7 MB / 0.7453 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8315, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002758/0.8343, allocations: 1.437 MB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007303/0.8351, allocations: 346.9 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.8351, allocations: 0 / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.8352, allocations: 7.938 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.8353, allocations: 0 / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.8358, allocations: 99.7 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.8358, allocations: 19.94 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.8359, allocations: 7.984 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.836, allocations: 11.94 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.836, allocations: 11.98 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.836, allocations: 0 / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.8363, allocations: 123.8 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.8363, allocations: 8 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.8363, allocations: 11.92 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.8366, allocations: 84.31 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8366, allocations: 0 / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8366, allocations: 0 / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.8366, allocations: 0 / 1.228 GB, free: 11.3 MB / 0.9512 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.0004786/0.8371, allocations: 355.3 kB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.8371, allocations: 8.031 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.8372, allocations: 4.891 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.8373, allocations: 176.4 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.8373, allocations: 4.375 kB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.8373, allocations: 384 / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.8375, allocations: 50.19 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.8375, allocations: 192 / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.8375, allocations: 11.91 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8375, allocations: 0 / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.8377, allocations: 35.97 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.838, allocations: 245 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.8382, allocations: 38.5 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.8383, allocations: 28.78 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/0.839, allocations: 461.5 kB / 1.229 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.839, allocations: 30.56 kB / 1.229 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.839, allocations: 0 / 1.229 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003503/0.8394, allocations: 89.58 kB / 1.229 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.8394, allocations: 51.41 kB / 1.229 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.8395, allocations: 97.86 kB / 1.229 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.8395, allocations: 25.7 kB / 1.229 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.8396, allocations: 92.08 kB / 1.229 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.8396, allocations: 3.953 kB / 1.229 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.8396, allocations: 17.66 kB / 1.229 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.8397, allocations: 319 kB / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.8398, allocations: 11.98 kB / 1.23 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.8399, allocations: 19.97 kB / 1.23 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.8401, allocations: 36.83 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8401, allocations: 0 / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.8403, allocations: 73.66 kB / 1.23 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.8403, allocations: 4 kB / 1.23 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8403, allocations: 4 kB / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.8403, allocations: 0 / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.8404, allocations: 11.98 kB / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.8404, allocations: 3.938 kB / 1.23 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.8405, allocations: 4 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.8405, allocations: 0 / 1.23 GB, free: 8.711 MB / 0.9512 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 7.615e-05/0.8406, allocations: 127.6 kB / 1.23 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.8406, allocations: 0 / 1.23 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.8409, allocations: 68.78 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8409, allocations: 0 / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8409, allocations: 4 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8409, allocations: 0 / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.8411, allocations: 161.5 kB / 1.23 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8411, allocations: 4.031 kB / 1.23 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.8411, allocations: 7.984 kB / 1.23 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8411, allocations: 0 / 1.23 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.8412, allocations: 4 kB / 1.23 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.8412, allocations: 0 / 1.23 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8412, allocations: 7.875 kB / 1.23 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.8414, allocations: 167.4 kB / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.8415, allocations: 77.11 kB / 1.231 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.8415, allocations: 7.984 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.8416, allocations: 4 kB / 1.231 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.8416, allocations: 0 / 1.231 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.8416, allocations: 7.984 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.533e-05/0.8417, allocations: 75.28 kB / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8417, allocations: 0 / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002723/0.8419, allocations: 27.94 kB / 1.231 GB, free: 7.875 MB / 0.9512 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.0002588/0.8422, allocations: 147.1 kB / 1.231 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.8424, allocations: 43.89 kB / 1.231 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8425, allocations: 0 / 1.231 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.8425, allocations: 15.98 kB / 1.231 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.8428, allocations: 7.938 kB / 1.231 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.8431, allocations: 105.4 kB / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.8434, allocations: 0.6771 MB / 1.232 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.8434, allocations: 4.125 kB / 1.232 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.8434, allocations: 11.44 kB / 1.232 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of SimCode: time 6.72e-07/0.8434, allocations: 0 / 1.232 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of Templates: time 0.003475/0.8469, allocations: 0.8903 MB / 1.233 GB, free: 5.922 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches