Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_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_latest_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.004582/0.004582, allocations: 108.2 kB / 15.74 MB, free: 6.441 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.00118/0.00118, allocations: 191.3 kB / 16.67 MB, free: 6.355 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 71.89 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3196, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001489/0.3211, allocations: 0.5797 MB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005229/0.3217, allocations: 275.1 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.166e-05/0.3217, allocations: 4 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.3217, allocations: 4 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.835e-06/0.3217, allocations: 3.938 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.3221, allocations: 103.6 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.711e-05/0.3222, allocations: 0 / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.3222, allocations: 3.984 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.147e-05/0.3222, allocations: 0 / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.563e-05/0.3223, allocations: 4 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.3223, allocations: 0 / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.3225, allocations: 119.8 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.743e-06/0.3225, allocations: 0 / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.358e-05/0.3225, allocations: 4 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3227, allocations: 71.88 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3227, allocations: 0 / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3227, allocations: 0 / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3227, allocations: 0 / 1.209 GB, free: 8.453 MB / 0.9669 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.0003659/0.3231, allocations: 331.5 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3231, allocations: 8.625 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.3231, allocations: 4.938 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.3232, allocations: 164.3 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3232, allocations: 384 / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.3232, allocations: 4.375 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/0.3233, allocations: 30.27 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.3233, allocations: 192 / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3233, allocations: 3.938 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3234, allocations: 0 / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.3234, allocations: 0 / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.3235, allocations: 149.7 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/0.3235, allocations: 22.52 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.3236, allocations: 8.953 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006435/0.3242, allocations: 457.5 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3242, allocations: 34.56 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3242, allocations: 4 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.3244, allocations: 37.58 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.3244, allocations: 51.41 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.228e-05/0.3244, allocations: 89.86 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3245, allocations: 29.7 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.323e-05/0.3245, allocations: 80.14 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3245, allocations: 3.906 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.3245, allocations: 13.72 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.3246, allocations: 319 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.3247, allocations: 4 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.3247, allocations: 0 / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.3247, allocations: 8.859 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3247, allocations: 0 / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.604e-05/0.3247, allocations: 37.58 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.3248, allocations: 4 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3248, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3248, allocations: 8.031 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.3248, allocations: 7.984 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3248, allocations: 0 / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-06/0.3249, allocations: 0 / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.3249, allocations: 0 / 1.211 GB, free: 6.258 MB / 0.9669 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 6.551e-05/0.3249, allocations: 113.8 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.3249, allocations: 3.984 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.325, allocations: 40.7 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.325, allocations: 0 / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.325, allocations: 8.016 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-06/0.325, allocations: 0 / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.583e-05/0.3251, allocations: 141.7 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3251, allocations: 4 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/0.3251, allocations: 3.938 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3251, allocations: 4 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3252, allocations: 7.938 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.3252, allocations: 0 / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3252, allocations: 0 / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.782e-05/0.3252, allocations: 61.12 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.3253, allocations: 77.11 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3253, allocations: 3.938 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.3253, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-06/0.3253, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.3253, allocations: 4 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.3253, allocations: 79.28 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3253, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002034/0.3255, allocations: 36.02 kB / 1.211 GB, free: 5.582 MB / 0.9669 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.0002262/0.3258, allocations: 131.2 kB / 1.211 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.071e-05/0.3258, allocations: 11.94 kB / 1.211 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3259, allocations: 0 / 1.211 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.3259, allocations: 0 / 1.211 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.326, allocations: 5.719 kB / 1.211 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001545/0.3262, allocations: 84.92 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.3264, allocations: 0.669 MB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.368e-06/0.3264, allocations: 0 / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.3264, allocations: 11.44 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3264, allocations: 0 / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of Templates: time 0.002413/0.3288, allocations: 0.6356 MB / 1.213 GB, free: 3.98 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches