Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_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_latest_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.001497/0.001497, 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.001832/0.001832, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.98 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3697, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001871/0.3716, allocations: 0.6425 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006944/0.3723, allocations: 313.2 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.212e-05/0.3723, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.3724, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-06/0.3724, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.3728, allocations: 91.03 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.971e-05/0.3729, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.3729, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.24e-05/0.3729, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.051e-05/0.3729, allocations: 4 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.373, allocations: 3.984 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.3732, allocations: 135.8 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.3733, allocations: 3.984 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.3733, allocations: 3.938 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3735, allocations: 79.81 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3735, allocations: 4 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3735, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.3735, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8262 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.0003307/0.3738, allocations: 323.6 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3739, allocations: 16.02 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.3739, allocations: 0.9375 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.374, allocations: 160.4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.374, allocations: 384 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.3741, allocations: 4.312 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/0.3742, allocations: 38.2 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3742, allocations: 8.172 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3742, allocations: 3.938 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3742, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.3742, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.3744, allocations: 149.7 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.196e-05/0.3744, allocations: 18.58 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.3744, allocations: 8.859 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008425/0.3753, allocations: 469.5 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3753, allocations: 38.5 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3753, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.3755, allocations: 37.62 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.3755, allocations: 51.41 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.881e-05/0.3756, allocations: 89.86 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3756, allocations: 29.7 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.3756, allocations: 80.14 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.3756, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.3757, allocations: 17.78 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3758, allocations: 314.8 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.3758, allocations: 4 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-06/0.3758, allocations: 0 / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.3758, allocations: 16.78 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3759, allocations: 0 / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.903e-05/0.3759, allocations: 33.7 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3759, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3759, allocations: 4.094 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3759, allocations: 3.938 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.575e-05/0.376, allocations: 4 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.376, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.376, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.376, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 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 6.946e-05/0.3761, allocations: 109.8 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.3761, allocations: 7.891 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.3762, allocations: 40.7 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3762, allocations: 4.031 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3762, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3762, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.392e-05/0.3763, allocations: 149.7 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3763, allocations: 4 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.3763, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3763, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.3764, allocations: 7.875 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3764, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3764, allocations: 3.984 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.945e-05/0.3764, allocations: 65.06 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.3765, allocations: 85.11 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3765, allocations: 3.938 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-06/0.3765, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.3765, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3765, allocations: 4 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.3766, allocations: 75.28 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3766, allocations: 4.031 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002194/0.3768, allocations: 24 kB / 1.071 GB, free: 6.691 MB / 0.8262 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.0002701/0.3771, allocations: 143.1 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.564e-05/0.3772, allocations: 8 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3772, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.3772, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3773, allocations: 5.688 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.3775, allocations: 80.81 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3777, allocations: 0.6731 MB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.204e-05/0.3778, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.3778, allocations: 11.44 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3778, allocations: 128 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.00277/0.3806, allocations: 0.6406 MB / 1.073 GB, free: 5.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches