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.001043/0.001043, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001008/0.001008, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 14.97 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 2.04/2.04, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 67.48 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2258, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002187/0.2281, allocations: 1.421 MB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005544/0.2286, allocations: 341.9 kB / 0.9528 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.2287, allocations: 3.938 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.2287, allocations: 3.938 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.2287, allocations: 7.922 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.2291, allocations: 107.7 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.2292, allocations: 23.91 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.2293, allocations: 8 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.861e-05/0.2293, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.2293, allocations: 15.92 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.2294, allocations: 4 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.2296, allocations: 123.8 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.2296, allocations: 7.984 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.2296, allocations: 11.94 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.2298, allocations: 83.81 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2298, allocations: 4 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2298, allocations: 0 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2299, allocations: 0 / 0.9532 GB, free: 5.859 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005107/0.2304, allocations: 360.6 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2304, allocations: 8.031 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.2305, allocations: 4.938 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2306, allocations: 168.3 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2306, allocations: 384 / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2306, allocations: 384 / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.2308, allocations: 62.16 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2309, allocations: 192 / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2309, allocations: 3.938 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2309, allocations: 4 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.231, allocations: 27.97 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.2313, allocations: 253 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2315, allocations: 42.44 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.2316, allocations: 24.91 kB / 0.9541 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/0.2322, allocations: 457.5 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2322, allocations: 34.56 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2322, allocations: 0 / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003252/0.2326, allocations: 77.64 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.2326, allocations: 51.41 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.2327, allocations: 110 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2327, allocations: 25.7 kB / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.2328, allocations: 88.02 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2328, allocations: 7.906 kB / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.2328, allocations: 13.72 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2329, allocations: 310.8 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.233, allocations: 19.97 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.248e-05/0.2331, allocations: 19.98 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2332, allocations: 32.83 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2332, allocations: 3.938 kB / 0.9553 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/0.2334, allocations: 77.5 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2334, allocations: 5.812 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2335, allocations: 4 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2335, allocations: 4 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.2336, allocations: 11.92 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2336, allocations: 0 / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.2336, allocations: 7.984 kB / 0.9554 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2336, allocations: 0 / 0.9554 GB, free: 3.27 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 (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.03e-05/0.2337, allocations: 113.8 kB / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.2337, allocations: 0 / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.2339, allocations: 76.78 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2339, allocations: 4 kB / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.234, allocations: 0 / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.234, allocations: 0 / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.2341, allocations: 161.6 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2341, allocations: 0 / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.2342, allocations: 8 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2342, allocations: 0 / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.2342, allocations: 4.031 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2342, allocations: 3.938 kB / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2342, allocations: 3.984 kB / 0.9558 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2344, allocations: 159.5 kB / 0.9559 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.2345, allocations: 85.03 kB / 0.956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.2345, allocations: 0 / 0.956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.2346, allocations: 8.031 kB / 0.956 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2346, allocations: 7.984 kB / 0.956 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.2346, allocations: 0 / 0.956 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.2347, allocations: 87.45 kB / 0.9561 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2347, allocations: 3.938 kB / 0.9561 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002386/0.2349, allocations: 28 kB / 0.9562 GB, free: 2.43 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 (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.000242/0.2352, allocations: 138.8 kB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.2354, allocations: 35.91 kB / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2354, allocations: 0 / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.2355, allocations: 24.05 kB / 0.9563 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.2357, allocations: 7.938 kB / 0.9564 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.236, allocations: 101.5 kB / 0.9564 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2363, allocations: 0.6805 MB / 0.9571 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.2363, allocations: 0 / 0.9571 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.2363, allocations: 11.44 kB / 0.9571 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2363, allocations: 3.938 kB / 0.9571 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of Templates: time 0.003251/0.2396, allocations: 0.8774 MB / 0.958 GB, free: 0.5 MB / 0.7325 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 -s cvode -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