Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_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_latest_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.001271/0.00127, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001309/0.00131, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004014, allocations: 10.72 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3697, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0006669/0.3704, allocations: 314.9 kB / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005967/0.371, allocations: 263.4 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.371, allocations: 0 / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.3711, allocations: 7.938 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.3711, allocations: 0 / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.3716, allocations: 71.86 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.241e-05/0.3716, allocations: 0 / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.3717, allocations: 0 / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.3717, allocations: 0 / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.012e-05/0.3717, allocations: 7.922 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.3717, allocations: 0 / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.372, allocations: 131.7 kB / 1.059 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-06/0.372, allocations: 4 kB / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.3721, allocations: 25.7 kB / 1.059 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3722, allocations: 43.92 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3722, allocations: 0 / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3722, allocations: 0 / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3722, allocations: 0 / 1.059 GB, free: 4.461 MB / 0.8106 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.0003071/0.3725, allocations: 327.3 kB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3726, allocations: 8.031 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.3726, allocations: 7.984 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.3727, allocations: 159.1 kB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3727, allocations: 7.984 kB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3728, allocations: 3.953 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.726e-05/0.3729, allocations: 25.7 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.3729, allocations: 0 / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.3729, allocations: 0 / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3729, allocations: 0 / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.3729, allocations: 7.938 kB / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.3731, allocations: 153.7 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/0.3731, allocations: 14.67 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.3732, allocations: 8.859 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008582/0.374, allocations: 457.4 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3741, allocations: 42.55 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 2.224e-06/0.3741, allocations: 0 / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001715/0.3743, allocations: 33.64 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3743, allocations: 51.41 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.3744, allocations: 89.86 kB / 1.06 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3744, allocations: 25.7 kB / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.3745, allocations: 80.14 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.3745, allocations: 8.125 kB / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.3745, allocations: 0 / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3746, allocations: 314.8 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.3747, allocations: 3.938 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.3747, allocations: 0 / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.3747, allocations: 11.92 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3747, allocations: 0 / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.918e-05/0.3748, allocations: 33.64 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3748, allocations: 8.047 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3748, allocations: 4 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3748, allocations: 0 / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.3749, allocations: 4 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3749, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.3749, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.3749, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.614e-05/0.375, allocations: 113.8 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.375, allocations: 4 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.361e-05/0.3751, allocations: 44.72 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3751, allocations: 0 / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3751, allocations: 4 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3751, allocations: 0 / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.311e-05/0.3752, allocations: 145.7 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3753, allocations: 0 / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.3753, allocations: 4 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3753, allocations: 0 / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.3753, allocations: 0 / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3753, allocations: 3.953 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3753, allocations: 0 / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.495e-05/0.3754, allocations: 65.16 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.3754, allocations: 77.11 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.3754, allocations: 0 / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-06/0.3754, allocations: 0 / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.3755, allocations: 3.953 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3755, allocations: 0 / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.653e-05/0.3755, allocations: 79.28 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3755, allocations: 7.969 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002342/0.3757, allocations: 31.98 kB / 1.061 GB, free: 1.629 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.376, allocations: 139.2 kB / 1.061 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.3761, allocations: 4 kB / 1.061 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3761, allocations: 0 / 1.061 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-06/0.3761, allocations: 4 kB / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.3762, allocations: 2.812 kB / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.3764, allocations: 74.67 kB / 1.061 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.3766, allocations: 0.677 MB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.3766, allocations: 0 / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.3766, allocations: 7.438 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3766, allocations: 8.062 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of Templates: time 0.002767/0.3794, allocations: 0.6283 MB / 1.063 GB, free: 24 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches