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 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.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.0007477/0.0007478, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004476/0.004476, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 462.6 MB / 0.7364 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 10.16 kB / 0.9027 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3498, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0007621/0.3507, allocations: 322.9 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007145/0.3514, allocations: 315 kB / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.3514, allocations: 0 / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.3515, allocations: 3.938 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.3515, allocations: 0 / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.3519, allocations: 79.8 kB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.15e-05/0.352, allocations: 4 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.352, allocations: 0 / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.352, allocations: 7.984 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.002e-05/0.3521, allocations: 0 / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.3521, allocations: 0 / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.3524, allocations: 139.7 kB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.335e-06/0.3524, allocations: 0 / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.3524, allocations: 29.7 kB / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.3526, allocations: 71.81 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3526, allocations: 0 / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3526, allocations: 4 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3526, allocations: 0 / 1.06 GB, free: 4.039 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.0003058/0.353, allocations: 339.5 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/0.353, allocations: 11.97 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.3531, allocations: 4.938 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.3532, allocations: 160.4 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3532, allocations: 384 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.3532, allocations: 384 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.3533, allocations: 26.27 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3533, allocations: 8.125 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3533, allocations: 7.938 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3533, allocations: 0 / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.3534, allocations: 0 / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.3535, allocations: 145.7 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.3536, allocations: 22.61 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.3536, allocations: 4.859 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007958/0.3544, allocations: 469.5 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3544, allocations: 34.56 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 4.368e-06/0.3544, allocations: 4 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.3546, allocations: 45.56 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.3546, allocations: 51.41 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.264e-05/0.3547, allocations: 89.86 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3547, allocations: 25.7 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.3547, allocations: 80.14 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3547, allocations: 0 / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.3548, allocations: 9.719 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3549, allocations: 315 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.3549, allocations: 8 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.3549, allocations: 0 / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.93e-05/0.3549, allocations: 20.72 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3549, allocations: 0 / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.242e-05/0.355, allocations: 29.7 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.355, allocations: 4 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.355, allocations: 0 / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.355, allocations: 7.922 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.155e-05/0.3551, allocations: 8.094 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3551, allocations: 3.938 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-06/0.3551, allocations: 0 / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.3551, allocations: 0 / 1.061 GB, free: 1.824 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/0.3552, allocations: 113.8 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.3552, allocations: 3.984 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.3553, allocations: 40.7 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3553, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3553, allocations: 32 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3553, allocations: 4 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.555e-05/0.3554, allocations: 145.7 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3554, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.3554, allocations: 8 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3554, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3555, allocations: 3.938 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3555, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3555, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.866e-05/0.3555, allocations: 69.06 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.3556, allocations: 77.11 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3556, allocations: 3.938 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.3556, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.3556, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.3556, allocations: 4 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.3557, allocations: 75.28 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3557, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002213/0.3559, allocations: 28 kB / 1.062 GB, free: 1.16 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 (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.0002761/0.3562, allocations: 143.2 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.3563, allocations: 4 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3563, allocations: 4.062 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.3563, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.3564, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001693/0.3566, allocations: 90.55 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3568, allocations: 0.6731 MB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.056e-05/0.3568, allocations: 0 / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.3568, allocations: 7.438 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3568, allocations: 3.938 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of Templates: time 0.002824/0.3597, allocations: 0.6407 MB / 1.063 GB, free: 15.53 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