Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007315/0.007315, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001562/0.001562, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.671/2.671, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.84 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.34, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002861/0.343, allocations: 1.422 MB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.3437, allocations: 359.7 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.3438, allocations: 4 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.3438, allocations: 3.938 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.3439, allocations: 0 / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.3444, allocations: 119.2 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.3445, allocations: 23.92 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.3446, allocations: 7.938 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.3446, allocations: 11.98 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.3447, allocations: 7.922 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3447, allocations: 8 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.3449, allocations: 127.8 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.345, allocations: 4 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.345, allocations: 7.938 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3452, allocations: 91.72 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3452, allocations: 3.938 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3452, allocations: 0 / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3452, allocations: 0 / 1.169 GB, free: 4.578 MB / 0.92 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.0004872/0.3457, allocations: 355.3 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3457, allocations: 12.03 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.3458, allocations: 4.938 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3459, allocations: 168.3 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3459, allocations: 384 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.346, allocations: 4.375 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3461, allocations: 46.23 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3462, allocations: 8.172 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3462, allocations: 3.938 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3462, allocations: 0 / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3463, allocations: 35.95 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3467, allocations: 248.9 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3468, allocations: 46.53 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.3469, allocations: 20.91 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007937/0.3477, allocations: 469.5 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3478, allocations: 34.55 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.3478, allocations: 4 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003721/0.3482, allocations: 81.59 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.3482, allocations: 51.41 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.3483, allocations: 101.8 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.3483, allocations: 25.7 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.3484, allocations: 84.2 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3484, allocations: 11.95 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3484, allocations: 17.7 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3485, allocations: 310.8 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.3486, allocations: 23.92 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.3487, allocations: 11.98 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3488, allocations: 44.88 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3489, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001712/0.349, allocations: 73.5 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3491, allocations: 4 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3491, allocations: 3.938 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3491, allocations: 3.984 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.3492, allocations: 8 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3492, allocations: 4.031 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.3492, allocations: 11.98 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.3492, allocations: 0 / 1.171 GB, free: 1.973 MB / 0.92 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 7.306e-05/0.3493, allocations: 109.8 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3494, allocations: 4 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.3496, allocations: 72.72 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3496, allocations: 4.031 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3496, allocations: 3.984 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3496, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.3497, allocations: 157.6 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3498, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.3498, allocations: 11.98 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3498, allocations: 0 / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3498, allocations: 0 / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3498, allocations: 0 / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3498, allocations: 0 / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3501, allocations: 171.5 kB / 1.171 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.3501, allocations: 89 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3501, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.3502, allocations: 11.98 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.3503, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.3503, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.3503, allocations: 83.31 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3503, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002615/0.3506, allocations: 35.92 kB / 1.172 GB, free: 1.133 MB / 0.92 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.0002782/0.3509, allocations: 143.4 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.3511, allocations: 39.95 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3511, allocations: 0 / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.3512, allocations: 19.98 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3514, allocations: 3.938 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.3517, allocations: 113.5 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3519, allocations: 0.6768 MB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.352, allocations: 0 / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.352, allocations: 11.44 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of SimCode: time 1.91e-07/0.352, allocations: 0 / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of Templates: time 0.003117/0.3551, allocations: 0.8983 MB / 1.174 GB, free: 15.17 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches