Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 108 kB / 16.41 MB, free: 6.027 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.001559/0.001559, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.88 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9987/1, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001791/1.002, allocations: 0.578 MB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000662/1.003, allocations: 309.2 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/1.003, allocations: 0 / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/1.003, allocations: 0 / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.662e-06/1.003, allocations: 4 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/1.003, allocations: 103.2 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.398e-05/1.003, allocations: 1.094 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/1.003, allocations: 3.438 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/1.003, allocations: 0 / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/1.003, allocations: 1.094 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.742e-06/1.003, allocations: 0 / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/1.004, allocations: 128 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/1.004, allocations: 0 / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/1.004, allocations: 5.062 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/1.004, allocations: 77.92 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.004, allocations: 4 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/1.004, allocations: 0 / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.004, allocations: 1.125 kB / 1.09 GB, free: 4.855 MB / 0.8575 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.0002647/1.004, allocations: 326.2 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.004, allocations: 9.922 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/1.004, allocations: 1.781 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.007e-05/1.004, allocations: 161.7 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/1.004, allocations: 1.438 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/1.004, allocations: 384 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/1.004, allocations: 33.61 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/1.004, allocations: 192 / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/1.004, allocations: 4.969 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.004, allocations: 0 / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/1.004, allocations: 9.609 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/1.005, allocations: 148.8 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.201e-05/1.005, allocations: 17.17 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/1.005, allocations: 10.17 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/1.005, allocations: 472.6 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/1.005, allocations: 35.88 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/1.005, allocations: 0 / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/1.006, allocations: 39.91 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/1.006, allocations: 53.3 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.38e-05/1.006, allocations: 89.86 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/1.006, allocations: 25.7 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.595e-05/1.006, allocations: 85.98 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/1.006, allocations: 4 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/1.006, allocations: 11.94 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/1.006, allocations: 320.1 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/1.006, allocations: 0.75 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-06/1.006, allocations: 2.719 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/1.006, allocations: 6.828 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.006, allocations: 0.8125 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.593e-05/1.006, allocations: 40.36 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.006, allocations: 6.172 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.006, allocations: 4.094 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.006, allocations: 3.938 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/1.006, allocations: 2.766 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.006, allocations: 0 / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/1.006, allocations: 1.891 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/1.006, allocations: 0 / 1.092 GB, free: 2.797 MB / 0.8575 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 5.454e-05/1.006, allocations: 108.4 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/1.006, allocations: 0 / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/1.006, allocations: 47.23 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.006, allocations: 1.281 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.006, allocations: 0.6562 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.006, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.659e-05/1.006, allocations: 148.6 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.006, allocations: 4.609 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/1.006, allocations: 2.141 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/1.006, allocations: 1.375 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/1.006, allocations: 3.938 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/1.006, allocations: 1.125 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.006, allocations: 0.6094 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.427e-05/1.006, allocations: 60.27 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/1.006, allocations: 82.44 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/1.006, allocations: 5.5 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/1.006, allocations: 0 / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/1.006, allocations: 5.422 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/1.006, allocations: 1.828 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.384e-05/1.006, allocations: 75.28 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.006, allocations: 7.969 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000247/1.007, allocations: 26.48 kB / 1.092 GB, free: 2.176 MB / 0.8575 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.000257/1.007, allocations: 138.2 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/1.007, allocations: 4.219 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.007, allocations: 0 / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.785e-06/1.007, allocations: 2.75 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/1.007, allocations: 1.688 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001728/1.007, allocations: 101.9 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/1.008, allocations: 0.6753 MB / 1.093 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/1.008, allocations: 8.5 kB / 1.093 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.008, allocations: 8.062 kB / 1.093 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of Templates: time 0.002646/1.01, allocations: 0.7733 MB / 1.094 GB, free: 17.19 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches