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.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.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.001032/0.001032, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001188/0.001188, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.09 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.988/1.988, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 63.55 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2358, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002255/0.2381, allocations: 1.425 MB / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000602/0.2387, allocations: 361.8 kB / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.2387, allocations: 3.938 kB / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.2388, allocations: 0 / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.2388, allocations: 11.92 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.2392, allocations: 107.7 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.2393, allocations: 15.94 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.2394, allocations: 15.98 kB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.2394, allocations: 4 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.2394, allocations: 15.92 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.2395, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.2397, allocations: 135.7 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.2397, allocations: 0 / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.2397, allocations: 7.938 kB / 0.9532 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.2399, allocations: 95.78 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2399, allocations: 0 / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2399, allocations: 0 / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2399, allocations: 4 kB / 0.9533 GB, free: 5.867 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.0004004/0.2403, allocations: 355.4 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2404, allocations: 8.031 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.2404, allocations: 4.938 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2405, allocations: 172.3 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2405, allocations: 4.359 kB / 0.9538 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2405, allocations: 384 / 0.9538 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2407, allocations: 58.17 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.2407, allocations: 192 / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2407, allocations: 3.938 kB / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2407, allocations: 0 / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2409, allocations: 31.97 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.2411, allocations: 249 kB / 0.9541 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.2413, allocations: 46.44 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.2413, allocations: 16.91 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006437/0.242, allocations: 481.4 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.2421, allocations: 30.56 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2421, allocations: 0 / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000307/0.2424, allocations: 81.64 kB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2424, allocations: 51.53 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.2425, allocations: 101.8 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2425, allocations: 37.64 kB / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.2425, allocations: 84.12 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.2426, allocations: 3.906 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.2426, allocations: 13.72 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.2427, allocations: 314.8 kB / 0.9553 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.2428, allocations: 11.98 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.2428, allocations: 27.97 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.243, allocations: 32.83 kB / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.243, allocations: 0 / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001665/0.2431, allocations: 69.59 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2432, allocations: 4.094 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2432, allocations: 4 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2432, allocations: 4 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.2433, allocations: 11.92 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2433, allocations: 0 / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.2433, allocations: 7.906 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2433, allocations: 0 / 0.9555 GB, free: 3.273 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.174e-05/0.2434, allocations: 121.8 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.2434, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.2436, allocations: 68.78 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2436, allocations: 4 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2436, allocations: 0 / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2437, allocations: 0 / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.2438, allocations: 157.6 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2438, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.2439, allocations: 7.984 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2439, allocations: 7.938 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2439, allocations: 12.03 kB / 0.9558 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2439, allocations: 0 / 0.9558 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2439, allocations: 0 / 0.9558 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.2441, allocations: 159.5 kB / 0.956 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.2441, allocations: 81.05 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.2441, allocations: 3.984 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.2442, allocations: 8.219 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.2443, allocations: 8 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2443, allocations: 3.984 kB / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.2443, allocations: 91.14 kB / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2443, allocations: 0 / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002385/0.2446, allocations: 28 kB / 0.9562 GB, free: 2.426 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.0002059/0.2448, allocations: 135.2 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.245, allocations: 43.89 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.245, allocations: 0 / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.245, allocations: 20.05 kB / 0.9564 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.2453, allocations: 7.938 kB / 0.9564 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.2455, allocations: 109.5 kB / 0.9565 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2458, allocations: 0.6805 MB / 0.9572 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.792e-05/0.2458, allocations: 0 / 0.9572 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.2458, allocations: 11.44 kB / 0.9572 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2458, allocations: 64 / 0.9572 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of Templates: time 0.002978/0.2488, allocations: 0.9049 MB / 0.9581 GB, free: 476 kB / 0.7325 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches