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.001369/0.00137, allocations: 108 kB / 15.6 MB, free: 132 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.001377/0.001377, allocations: 199.7 kB / 16.54 MB, free: 6.672 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: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7451 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.69 kB / 0.9121 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3222, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.00355/0.3258, allocations: 1.432 MB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00073/0.3266, allocations: 338.8 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.3266, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.3267, allocations: 7.984 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.3268, allocations: 3.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.3272, allocations: 99.72 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.3273, allocations: 23.92 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.3274, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.3275, allocations: 15.92 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.718e-05/0.3275, allocations: 4 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.3275, allocations: 4 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.3278, allocations: 127.8 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.3278, allocations: 7.938 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.3278, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3281, allocations: 91.69 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3281, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3281, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3281, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 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.0005087/0.3286, allocations: 355.7 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3287, allocations: 8.031 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3287, allocations: 8.938 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3288, allocations: 164.4 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3289, allocations: 4.375 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3289, allocations: 4.375 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3291, allocations: 50.22 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3291, allocations: 192 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3291, allocations: 7.938 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3291, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.3293, allocations: 35.91 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.3296, allocations: 249 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3298, allocations: 42.5 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.3299, allocations: 24.84 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.3306, allocations: 461.5 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3306, allocations: 38.5 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3307, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000363/0.331, allocations: 85.55 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.3311, allocations: 51.41 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.3311, allocations: 105.8 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3312, allocations: 25.7 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.3312, allocations: 80.14 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3312, allocations: 3.906 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.3313, allocations: 17.84 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3314, allocations: 318.8 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.3315, allocations: 15.98 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.3315, allocations: 15.98 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3317, allocations: 36.77 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3317, allocations: 4.062 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.3319, allocations: 69.59 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3319, allocations: 8 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3319, allocations: 0 / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.332, allocations: 4 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.332, allocations: 7.984 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3321, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.3321, allocations: 11.98 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3321, allocations: 4.031 kB / 1.073 GB, free: 5.621 MB / 0.8262 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 6.828e-05/0.3322, allocations: 113.8 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.3322, allocations: 3.938 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.3325, allocations: 76.72 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3325, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3325, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3325, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.3327, allocations: 165.6 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3327, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.3327, allocations: 8 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3328, allocations: 3.984 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3328, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3328, allocations: 3.938 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3328, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.333, allocations: 171.3 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.3331, allocations: 85.05 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.3331, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.3332, allocations: 7.984 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.3332, allocations: 4 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3332, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.3333, allocations: 83.45 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3333, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002618/0.3336, allocations: 40.02 kB / 1.073 GB, free: 4.77 MB / 0.8262 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.0002705/0.3338, allocations: 127.8 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3341, allocations: 35.97 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3341, allocations: 0 / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3342, allocations: 19.92 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3346, allocations: 15.92 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.335, allocations: 105.4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.3354, allocations: 0.6769 MB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.3354, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.3355, allocations: 11.44 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3355, allocations: 0 / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.003393/0.3389, allocations: 0.8818 MB / 1.075 GB, free: 2.84 MB / 0.8262 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