Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001048/0.001048, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001197, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 67.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7212, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001757/0.723, allocations: 0.6566 MB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.7236, allocations: 299.1 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-06/0.7237, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.7237, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-06/0.7237, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.7241, allocations: 75.8 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.632e-05/0.7241, allocations: 4 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.7241, allocations: 4 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.7242, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.773e-05/0.7242, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.7242, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.7244, allocations: 135.7 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.7245, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.7245, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.7246, allocations: 79.75 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7247, allocations: 3.938 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.01e-07/0.7247, allocations: 4 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7247, allocations: 4 kB / 1.018 GB, free: 1.535 MB / 0.7637 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.0002904/0.725, allocations: 327.6 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.725, allocations: 8.031 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.725, allocations: 4.844 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.687e-05/0.7251, allocations: 160.4 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.7251, allocations: 384 / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-06/0.7251, allocations: 384 / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/0.7252, allocations: 34.27 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.7252, allocations: 192 / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.7253, allocations: 3.938 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.7253, allocations: 3.938 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.7253, allocations: 4 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.7254, allocations: 149.7 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.7255, allocations: 14.58 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.7255, allocations: 8.953 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008702/0.7264, allocations: 461.5 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.7264, allocations: 30.56 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.7264, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.000144/0.7266, allocations: 37.58 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.7266, allocations: 55.53 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.488e-05/0.7267, allocations: 93.86 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.7267, allocations: 25.7 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.7268, allocations: 84.14 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.7268, allocations: 0 / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.7268, allocations: 13.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.727, allocations: 314.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.727, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.727, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.727, allocations: 12.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7271, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.905e-05/0.7271, allocations: 33.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.7272, allocations: 4 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7272, allocations: 7.938 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7272, allocations: 7.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/0.7272, allocations: 3.984 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7273, allocations: 96 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.7273, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7273, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 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 8.043e-05/0.7274, allocations: 110.4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.7274, allocations: 3.938 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.178e-05/0.7275, allocations: 48.69 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7275, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7275, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7275, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.7276, allocations: 145.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7277, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.7277, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7277, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.7277, allocations: 3.938 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7277, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7277, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.75e-05/0.7278, allocations: 65.12 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.7279, allocations: 85.08 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.7279, allocations: 3.938 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.7279, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.7279, allocations: 7.984 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.7279, allocations: 3.984 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.728, allocations: 75.28 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.728, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003537/0.7283, allocations: 28 kB / 1.02 GB, free: 14.67 MB / 0.7794 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.0003261/0.7287, allocations: 135.2 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.836e-05/0.7287, allocations: 4 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7288, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-06/0.7288, allocations: 64 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.729, allocations: 14.41 kB / 1.02 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.7292, allocations: 82.53 kB / 1.02 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.7294, allocations: 0.6692 MB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.644e-05/0.7295, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.7295, allocations: 7.438 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.7295, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.003472/0.733, allocations: 0.6329 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches