Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_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.001399/0.001399, allocations: 110.3 kB / 16.41 MB, free: 6.512 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.001387/0.001387, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.4/2.4, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 64.12 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7178, allocations: 151.6 MB / 1.167 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002488/0.7203, allocations: 1.428 MB / 1.169 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006807/0.721, allocations: 346.1 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.7211, allocations: 3.938 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.7211, allocations: 0 / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.7212, allocations: 7.938 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.7216, allocations: 103.7 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.7216, allocations: 15.94 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.7217, allocations: 15.92 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.751e-05/0.7218, allocations: 11.98 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.7218, allocations: 11.92 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.7218, allocations: 4 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.7221, allocations: 115.8 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.7221, allocations: 7.984 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.7221, allocations: 11.92 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.7223, allocations: 96.67 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7223, allocations: 0 / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7223, allocations: 0 / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7223, allocations: 0 / 1.169 GB, free: 1.812 MB / 0.8887 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.000494/0.7228, allocations: 359.3 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7229, allocations: 12.62 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.7229, allocations: 0.9375 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.723, allocations: 164.3 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7231, allocations: 384 / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.7231, allocations: 4.375 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.7232, allocations: 50.23 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.7233, allocations: 192 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.7233, allocations: 7.938 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.7233, allocations: 0 / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.7235, allocations: 39.89 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.7238, allocations: 244.9 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.7239, allocations: 38.53 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.724, allocations: 24.91 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006386/0.7247, allocations: 457.5 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.7247, allocations: 42.5 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7247, allocations: 0 / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003321/0.725, allocations: 77.64 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.7251, allocations: 55.41 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.7252, allocations: 93.86 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.7252, allocations: 25.7 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.7253, allocations: 92.19 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.7253, allocations: 11.95 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.7253, allocations: 9.719 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7255, allocations: 314.8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.7255, allocations: 15.98 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.7256, allocations: 19.97 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.7258, allocations: 44.83 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7258, allocations: 0 / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.726, allocations: 69.55 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.726, allocations: 8 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.726, allocations: 3.938 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.726, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.7261, allocations: 8.172 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.7261, allocations: 8.031 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.7261, allocations: 0 / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.7262, allocations: 4 kB / 1.172 GB, free: 15.23 MB / 0.9044 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 8.867e-05/0.7263, allocations: 113.8 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.7263, allocations: 7.969 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.7265, allocations: 72.72 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7265, allocations: 4.031 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7265, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7265, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.7267, allocations: 157.6 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7267, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.7268, allocations: 11.98 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7268, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.7268, allocations: 4 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7268, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7268, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.7271, allocations: 171.4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.7271, allocations: 81.06 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.7271, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.7272, allocations: 7.984 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.7273, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.7273, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.7273, allocations: 87.3 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7273, allocations: 3.938 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002397/0.7276, allocations: 31.88 kB / 1.172 GB, free: 14.38 MB / 0.9044 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.0002598/0.7278, allocations: 136.7 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.728, allocations: 39.95 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7281, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.7281, allocations: 23.92 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.7284, allocations: 3.938 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.7286, allocations: 101.6 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.7289, allocations: 0.6807 MB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.828e-05/0.7289, allocations: 0 / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.729, allocations: 11.44 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.729, allocations: 0 / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.003182/0.7321, allocations: 0.8828 MB / 1.174 GB, free: 12.45 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches