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.0009876/0.0009876, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.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.443/2.443, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.683, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.000691/0.6837, allocations: 319.6 kB / 0.956 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.6843, allocations: 299.7 kB / 0.9563 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.027e-05/0.6844, allocations: 0 / 0.9563 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.6844, allocations: 1.156 kB / 0.9563 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.6844, allocations: 0 / 0.9563 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.6847, allocations: 72.28 kB / 0.9564 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.279e-05/0.6848, allocations: 3.984 kB / 0.9564 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.6848, allocations: 5.094 kB / 0.9564 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.6849, allocations: 1.281 kB / 0.9564 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.6849, allocations: 0 / 0.9564 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.6849, allocations: 5 kB / 0.9564 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.6851, allocations: 134.1 kB / 0.9565 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-06/0.6852, allocations: 1.094 kB / 0.9565 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.6852, allocations: 25.7 kB / 0.9566 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.428e-05/0.6853, allocations: 45.08 kB / 0.9566 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6853, allocations: 0 / 0.9566 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6853, allocations: 1.062 kB / 0.9566 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6853, allocations: 4 kB / 0.9566 GB, free: 7.086 MB / 0.7169 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.0002057/0.6855, allocations: 322.6 kB / 0.9569 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.6856, allocations: 9.5 kB / 0.9569 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.6856, allocations: 0.9375 kB / 0.9569 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.157e-05/0.6856, allocations: 165.5 kB / 0.9571 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.6857, allocations: 384 / 0.9571 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.6857, allocations: 5.594 kB / 0.9571 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.6858, allocations: 31.44 kB / 0.9571 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.6858, allocations: 4.188 kB / 0.9571 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.6858, allocations: 8.969 kB / 0.9571 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.6858, allocations: 0 / 0.9571 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.6858, allocations: 1.094 kB / 0.9571 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.128e-05/0.6859, allocations: 147 kB / 0.9573 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.942e-05/0.6859, allocations: 16.86 kB / 0.9573 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.686, allocations: 9.922 kB / 0.9573 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.6866, allocations: 460 kB / 0.9577 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.6866, allocations: 31.88 kB / 0.9578 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.6866, allocations: 0 / 0.9578 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.6867, allocations: 42.02 kB / 0.9578 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.6867, allocations: 56.78 kB / 0.9579 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.75e-05/0.6868, allocations: 93.8 kB / 0.9579 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.6868, allocations: 25.7 kB / 0.958 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.036e-05/0.6868, allocations: 80.14 kB / 0.958 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.6868, allocations: 5.219 kB / 0.958 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.6868, allocations: 13.7 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.6869, allocations: 312.2 kB / 0.9584 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-06/0.6869, allocations: 0 / 0.9584 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.6869, allocations: 1.375 kB / 0.9584 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.6869, allocations: 19.52 kB / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.687, allocations: 0 / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.947e-05/0.687, allocations: 31.2 kB / 0.9584 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.687, allocations: 5.344 kB / 0.9584 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.687, allocations: 0 / 0.9584 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.687, allocations: 5.25 kB / 0.9584 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.6871, allocations: 5.234 kB / 0.9584 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.6871, allocations: 0 / 0.9584 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-06/0.6871, allocations: 1.469 kB / 0.9584 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.6871, allocations: 4 kB / 0.9584 GB, free: 4.992 MB / 0.7169 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 4.43e-05/0.6872, allocations: 107.2 kB / 0.9585 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.6872, allocations: 0 / 0.9585 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.6872, allocations: 44.98 kB / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6873, allocations: 5.359 kB / 0.9586 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6873, allocations: 0 / 0.9586 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6873, allocations: 0 / 0.9586 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.163e-05/0.6873, allocations: 143.2 kB / 0.9587 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6873, allocations: 4.031 kB / 0.9587 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.6874, allocations: 5.375 kB / 0.9587 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.6874, allocations: 1.531 kB / 0.9587 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.6874, allocations: 3.938 kB / 0.9587 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6874, allocations: 4 kB / 0.9587 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6874, allocations: 1.406 kB / 0.9587 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.573e-05/0.6874, allocations: 62.16 kB / 0.9588 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.6874, allocations: 77.98 kB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.6875, allocations: 9 kB / 0.9589 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.6875, allocations: 0 / 0.9589 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.6875, allocations: 1.344 kB / 0.9589 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.6875, allocations: 3.938 kB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.42e-05/0.6875, allocations: 79.27 kB / 0.959 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6875, allocations: 1.188 kB / 0.959 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002338/0.6878, allocations: 24.25 kB / 0.959 GB, free: 4.363 MB / 0.7169 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.0002337/0.688, allocations: 134.7 kB / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.653e-05/0.6881, allocations: 6.906 kB / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6881, allocations: 0 / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.6881, allocations: 2.969 kB / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.6882, allocations: 5.531 kB / 0.9591 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001373/0.6884, allocations: 100.8 kB / 0.9592 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.291e-05/0.6885, allocations: 0.6705 MB / 0.9599 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.6885, allocations: 8.031 kB / 0.9599 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6885, allocations: 0 / 0.9599 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.001905/0.6904, allocations: 0.7523 MB / 0.9606 GB, free: 3.066 MB / 0.7169 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/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